diff --git a/packages/edit-navigation/src/components/menus-editor/index.js b/packages/edit-navigation/src/components/menus-editor/index.js index 11b9a570d6220..aac7cf45f5af8 100644 --- a/packages/edit-navigation/src/components/menus-editor/index.js +++ b/packages/edit-navigation/src/components/menus-editor/index.js @@ -40,7 +40,7 @@ export default function MenusEditor( { blockEditorSettings } ) { return ; } - const hasMenus = hasLoadedMenus && !! menus?.length; + const hasMenus = hasLoadedMenus && !! stateMenus?.length; return ( <>