From bb6fe7325dfe76c0618d34455e56122c3204a3b3 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 11 Oct 2021 01:27:47 +0200 Subject: chore: build --- components/contextmenu.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'components/contextmenu.tsx') 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() -- cgit v1.2.3