diff --git a/desktop/app/src/ui/components/ContextMenu.tsx b/desktop/app/src/ui/components/ContextMenu.tsx index bd1ca9995..0e9d3f555 100644 --- a/desktop/app/src/ui/components/ContextMenu.tsx +++ b/desktop/app/src/ui/components/ContextMenu.tsx @@ -47,7 +47,7 @@ export default function ContextMenu({ } else if (buildItems != null) { contextMenuManager?.appendToContextMenu(buildItems()); } - }, []); + }, [items, buildItems]); return createElement( component || FlexColumn, {