From dea982414e0c132c51183a406c1217b8e5c2f6ac Mon Sep 17 00:00:00 2001 From: Andrei Draganescu Date: Tue, 20 Jun 2023 15:39:58 +0300 Subject: [PATCH] hide the helper navigation block and its wrapping editor --- .../navigation-menu-content.js | 5 ++--- .../sidebar-navigation-screen-navigation-menus/style.scss | 4 ++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js index dd9256b3a5c87..35a06b53786ec 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/navigation-menu-content.js @@ -9,7 +9,6 @@ import { } from '@wordpress/block-editor'; import { useDispatch, useSelect } from '@wordpress/data'; import { createBlock } from '@wordpress/blocks'; -import { VisuallyHidden } from '@wordpress/components'; import { useCallback } from '@wordpress/element'; import { store as coreStore } from '@wordpress/core-data'; @@ -106,11 +105,11 @@ export default function NavigationMenuContent( { rootClientId } ) { showAppender={ false } /> ) } -