From 6685a50208a283c90ea1567f731b4d85adc90694 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Thu, 5 Aug 2021 19:00:40 +0200 Subject: fix: typecast node --- components/contextmenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/contextmenu.tsx') diff --git a/components/contextmenu.tsx b/components/contextmenu.tsx index c20b3e9..442b956 100644 --- a/components/contextmenu.tsx +++ b/components/contextmenu.tsx @@ -90,7 +90,7 @@ export const ContextMenu = (props: ContextMenuProps) => { } {!node?.properties.FILELESS ? ( - } onClick={() => openNodeInEmacs(node)}>Open in Emacs + } onClick={() => openNodeInEmacs(node as OrgRoamNode)}>Open in Emacs ) : ( }>Create node )} -- cgit v1.2.3