From 1bf3b54b3442377b6f418715a944b91d42f0b4fc Mon Sep 17 00:00:00 2001 From: Valerii Sidorenko Date: Tue, 5 Nov 2024 11:03:50 +0100 Subject: [PATCH] fix(addon-toolbars): suppress deprecation warning --- code/addons/toolbars/src/components/ToolbarMenuListItem.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/addons/toolbars/src/components/ToolbarMenuListItem.tsx b/code/addons/toolbars/src/components/ToolbarMenuListItem.tsx index 829829de4b25..37ae26d1aebf 100644 --- a/code/addons/toolbars/src/components/ToolbarMenuListItem.tsx +++ b/code/addons/toolbars/src/components/ToolbarMenuListItem.tsx @@ -21,7 +21,9 @@ export const ToolbarMenuListItem = ({ disabled, currentValue, }: ToolbarMenuListItemProps) => { - const Icon = icon && ; + const Icon = icon && ( + + ); const Item: TooltipLinkListLink = { id: value ?? '_reset',