Skip to content

Commit

Permalink
Remove unused id in NavigationMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lende committed Jan 9, 2023
1 parent 6a0acb0 commit 292af5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,7 @@ export default function NavigationInspector() {
onChange={ onChange }
onInput={ onInput }
>
<NavigationMenu
id={ navMenuListId }
innerBlocks={ publishedInnerBlocks }
/>
<NavigationMenu innerBlocks={ publishedInnerBlocks } />
</BlockEditorProvider>
) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ALLOWED_BLOCKS = {
],
};

export default function NavigationMenu( { innerBlocks, id } ) {
export default function NavigationMenu( { innerBlocks } ) {
const { updateBlockListSettings } = useDispatch( blockEditorStore );

//TODO: Block settings are normally updated as a side effect of rendering InnerBlocks in BlockList
Expand Down

0 comments on commit 292af5c

Please sign in to comment.