Skip to content

Commit

Permalink
get the top toolbar preference from the correct scope (#51840)
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu authored Jun 23, 2023
1 parent 8ac548b commit d4b1931
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/edit-site/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ export default function Layout() {
nextShortcut: getAllShortcutKeyCombinations(
'core/edit-site/next-region'
),
hasFixedToolbar:
select( preferencesStore ).get( 'fixedToolbar' ),
hasFixedToolbar: select( preferencesStore ).get(
'core/edit-site',
'fixedToolbar'
),
};
}, [] );
const isEditing = canvasMode === 'edit';
Expand Down

0 comments on commit d4b1931

Please sign in to comment.