diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-11 01:27:47 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-11 01:27:47 +0200 |
commit | bb6fe7325dfe76c0618d34455e56122c3204a3b3 (patch) | |
tree | 63585e12385dfa5c7501f03646cb2a88cb43a0da /components/contextmenu.tsx | |
parent | 546a88ec37073840e98ed689f7139d04985e861c (diff) |
chore: build
Diffstat (limited to 'components/contextmenu.tsx')
-rw-r--r-- | components/contextmenu.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/components/contextmenu.tsx b/components/contextmenu.tsx index bff4861..118b8bb 100644 --- a/components/contextmenu.tsx +++ b/components/contextmenu.tsx @@ -50,13 +50,12 @@ export default interface ContextMenuProps { background: Boolean target: OrgRoamNode | null nodeType?: string - coordinates: { [direction: string]: number } + coordinates: { [direction: string]: number | undefined } handleLocal: (node: OrgRoamNode, add: string) => void menuClose: () => void scope: { nodeIds: string[] } webSocket: any setPreviewNode: any - contextMenuRef: any } export const ContextMenu = (props: ContextMenuProps) => { @@ -70,7 +69,6 @@ export const ContextMenu = (props: ContextMenuProps) => { scope, webSocket, setPreviewNode, - contextMenuRef, } = props const { isOpen, onOpen, onClose } = useDisclosure() const copyRef = useRef<any>() |