From a34e9c4ebbe07ddf713bb64bf40bd40709ab6fcb Mon Sep 17 00:00:00 2001 From: Mitchell Austin Date: Fri, 14 Feb 2025 09:08:16 -0800 Subject: [PATCH] =?UTF-8?q?Site=20editor:=20fix=20back=20link=20from=20?= =?UTF-8?q?=E2=80=9CNavigation=E2=80=9D=20items=20in=20mobile=20web=20(#69?= =?UTF-8?q?192)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: stokesman Co-authored-by: t-hamano --- .../src/components/site-editor-routes/navigation-item.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/edit-site/src/components/site-editor-routes/navigation-item.js b/packages/edit-site/src/components/site-editor-routes/navigation-item.js index 76983d8ff8daa4..f8d1563d33c953 100644 --- a/packages/edit-site/src/components/site-editor-routes/navigation-item.js +++ b/packages/edit-site/src/components/site-editor-routes/navigation-item.js @@ -6,7 +6,6 @@ import { privateApis as routerPrivateApis } from '@wordpress/router'; /** * Internal dependencies */ -import { NAVIGATION_POST_TYPE } from '../../utils/constants'; import Editor from '../editor'; import SidebarNavigationScreenNavigationMenu from '../sidebar-navigation-screen-navigation-menu'; import { unlock } from '../../lock-unlock'; @@ -20,9 +19,7 @@ function MobileNavigationItemView() { return canvas === 'edit' ? ( ) : ( - + ); }