Skip to content

Commit

Permalink
Fix visual glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed May 25, 2021
1 parent 0001347 commit 8423367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-navigation/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function Layout( { blockEditorSettings } ) {
useMenuNotifications( selectedMenuId );

const hasMenus = !! menus?.length;
const hasPermanentSidebar = isLargeViewport && hasMenus;
const hasPermanentSidebar = isLargeViewport && isMenuSelected;

const isBlockEditorReady = !! (
hasMenus &&
Expand Down

0 comments on commit 8423367

Please sign in to comment.