Skip to content

Commit

Permalink
Remove optional prop that isn't needed now menugroup typed properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies committed Aug 12, 2021
1 parent 87d8e54 commit b80b745
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ const ToolsPanelHeader = (
<DropdownMenu icon={ moreHorizontal } label={ menuLabel }>
{ ( { onClose } ) => (
<>
<MenuGroup
label={ __( 'Display options' ) }
hideSeparator={ false }
>
<MenuGroup label={ __( 'Display options' ) }>
{ Object.entries( menuItems ).map(
( [ label, isSelected ] ) => {
return (
Expand Down

0 comments on commit b80b745

Please sign in to comment.