mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
fix build issue
This commit is contained in:
parent
fa07a75358
commit
96ab91f8cb
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ function EmailBlockView({ node, deleteNode, updateAttributes }: {
|
|||
useEffect(() => {
|
||||
if (!responseSplitOpen) return
|
||||
const handler = (e: MouseEvent) => {
|
||||
if (responseSplitRef.current && !responseSplitRef.current.contains(e.target as Node)) setResponseSplitOpen(false)
|
||||
if (responseSplitRef.current && !responseSplitRef.current.contains(e.target as globalThis.Node)) setResponseSplitOpen(false)
|
||||
}
|
||||
document.addEventListener('mousedown', handler)
|
||||
return () => document.removeEventListener('mousedown', handler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue