aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/ContextMenuItem.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/ContextMenuItem.tsx')
-rw-r--r--src/client/views/ContextMenuItem.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/ContextMenuItem.tsx b/src/client/views/ContextMenuItem.tsx
index 5b4eb704b..5d31173e1 100644
--- a/src/client/views/ContextMenuItem.tsx
+++ b/src/client/views/ContextMenuItem.tsx
@@ -18,7 +18,7 @@ export interface ContextMenuProps {
noexpand?: boolean; // whether to render the submenu items as a flyout from this item, or inline in place of this item
undoable?: boolean; // whether to wrap the event callback in an UndoBatch or not
- event?: (stuff?: unknown) => void;
+ event?: (stuff?: { x: number; y: number }) => void;
}
@observer