Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Feb 14, 2023
1 parent a00c1d0 commit 05666e2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ function AddSubmenuItem( { block, onClose } ) {
useDispatch( blockEditorStore );

const clientId = block.clientId;
const isDisabled =
! BLOCKS_THAT_CAN_BE_CONVERTED_TO_SUBMENU.includes( block.name );
const isDisabled = ! BLOCKS_THAT_CAN_BE_CONVERTED_TO_SUBMENU.includes(
block.name
);
return (
<MenuItem
icon={ addSubmenu }
Expand Down

0 comments on commit 05666e2

Please sign in to comment.