From 3fb6d10a7f1af8fbb68fabc06ff9d24cbe6317ef Mon Sep 17 00:00:00 2001 From: Aman Harwara Date: Tue, 12 Mar 2024 16:33:52 +0530 Subject: [PATCH] chore: fix issue with super toolbar menu items not working on mobile [skip e2e] --- .../SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx b/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx index d9af1083e..a360b46a9 100644 --- a/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx +++ b/packages/web/src/javascripts/Components/SuperEditor/Plugins/ToolbarPlugin/ToolbarPlugin.tsx @@ -172,10 +172,11 @@ interface ToolbarMenuItemProps extends Omit { active?: boolean } -const ToolbarMenuItem = ({ name, iconName, active, ...props }: ToolbarMenuItemProps) => { +const ToolbarMenuItem = ({ name, iconName, active, onClick, ...props }: ToolbarMenuItemProps) => { return (