diff --git a/packages/block-library/src/navigation/edit/menu-inspector-controls.js b/packages/block-library/src/navigation/edit/menu-inspector-controls.js index 28af66077b0c13..98d49f0c81feb8 100644 --- a/packages/block-library/src/navigation/edit/menu-inspector-controls.js +++ b/packages/block-library/src/navigation/edit/menu-inspector-controls.js @@ -34,6 +34,8 @@ const MenuInspectorControls = ( { /* translators: %s: The name of a menu. */ const actionLabel = __( "Switch to '%s'" ); + // Provide a hierarchy of clientIds for the given Navigation block (clientId). + // This is required else the list view will display the entire block tree. const clientIdsTree = useSelect( ( select ) => { const { __unstableGetClientIdsTree } = select( blockEditorStore );