diff --git a/packages/edit-navigation/src/components/layout/use-navigation-block-with-name.js b/packages/edit-navigation/src/components/layout/use-navigation-block-with-name.js index c74c8addd3e4d4..c9b6123543eb46 100644 --- a/packages/edit-navigation/src/components/layout/use-navigation-block-with-name.js +++ b/packages/edit-navigation/src/components/layout/use-navigation-block-with-name.js @@ -53,7 +53,7 @@ export default function useNavigationBlockWithName( menuId ) { ); return () => removeFilter( 'editor.BlockEdit', 'core/edit-navigation/with-menu-name', withMenuName ); } - }, [ menu ] ); + }, [ menuId ] ); }