We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a3d832 commit bbf1a19Copy full SHA for bbf1a19
extensions/default/src/Components/MoreDropdownMenu.tsx
@@ -33,10 +33,10 @@ const getMenuItemsDefault = ({
33
id: string;
34
label: string;
35
iconName: string;
36
- onClick: ({ ...props }: withAppTypes) => () => void;
+ onClick: ({ commandsManager, ...props }: withAppTypes) => () => void;
37
};
38
}) => (
39
- <DropdownMenuItem onClick={() => item.onClick({ ...props })}>
+ <DropdownMenuItem onClick={() => item.onClick({ commandsManager, ...props })}>
40
<div className="flex items-center gap-2">
41
{item.iconName && <Icons.ByName name={item.iconName} />}
42
<span>{item.label}</span>
0 commit comments