Skip to content

Commit

Permalink
Fix preference in the site editor
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 11, 2024
1 parent 30d42bf commit c2fc971
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/edit-site/src/store/private-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ export const setCanvasMode =
registry.batch( () => {
registry.dispatch( blockEditorStore ).clearSelectedBlock();
registry.dispatch( editorStore ).setDeviceType( 'Desktop' );
registry
.dispatch( blockEditorStore )
.__unstableSetEditorMode( 'edit' );
const isPublishSidebarOpened = registry
.select( editorStore )
.isPublishSidebarOpened();
Expand Down

0 comments on commit c2fc971

Please sign in to comment.