From bbf1a19676b2b345a0f911dde319e5ffefe29fa6 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 18:33:45 -0500 Subject: [PATCH] fix: add commandsManager to MoreDropdownMenu onClick props (#4765) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alireza Sedghi --- extensions/default/src/Components/MoreDropdownMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/default/src/Components/MoreDropdownMenu.tsx b/extensions/default/src/Components/MoreDropdownMenu.tsx index a0d1117d2..66cd5f85f 100644 --- a/extensions/default/src/Components/MoreDropdownMenu.tsx +++ b/extensions/default/src/Components/MoreDropdownMenu.tsx @@ -33,10 +33,10 @@ const getMenuItemsDefault = ({ id: string; label: string; iconName: string; - onClick: ({ ...props }: withAppTypes) => () => void; + onClick: ({ commandsManager, ...props }: withAppTypes) => () => void; }; }) => ( - item.onClick({ ...props })}> + item.onClick({ commandsManager, ...props })}>
{item.iconName && } {item.label}