diff options
-rw-r--r-- | components/contextmenu.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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 ? ( - <MenuItem icon={<EditIcon />} onClick={() => openNodeInEmacs(node)}>Open in Emacs</MenuItem> + <MenuItem icon={<EditIcon />} onClick={() => openNodeInEmacs(node as OrgRoamNode)}>Open in Emacs</MenuItem> ) : ( <MenuItem icon={<AddIcon />}>Create node</MenuItem> )} |