From b80b7454d39c6939ebb920b8c1ccdbd5a96dea01 Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Fri, 13 Aug 2021 11:42:59 +1200 Subject: [PATCH] Remove optional prop that isn't needed now menugroup typed properly --- .../src/tools-panel/tools-panel-header/component.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/components/src/tools-panel/tools-panel-header/component.tsx b/packages/components/src/tools-panel/tools-panel-header/component.tsx index 92b90994ed144c..83fe5202e0d41b 100644 --- a/packages/components/src/tools-panel/tools-panel-header/component.tsx +++ b/packages/components/src/tools-panel/tools-panel-header/component.tsx @@ -39,10 +39,7 @@ const ToolsPanelHeader = ( { ( { onClose } ) => ( <> - + { Object.entries( menuItems ).map( ( [ label, isSelected ] ) => { return (