Skip to content

Commit c2fc971

Browse files
committed
Fix preference in the site editor
1 parent 30d42bf commit c2fc971

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/edit-site/src/store/private-actions.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ export const setCanvasMode =
1919
registry.batch( () => {
2020
registry.dispatch( blockEditorStore ).clearSelectedBlock();
2121
registry.dispatch( editorStore ).setDeviceType( 'Desktop' );
22-
registry
23-
.dispatch( blockEditorStore )
24-
.__unstableSetEditorMode( 'edit' );
2522
const isPublishSidebarOpened = registry
2623
.select( editorStore )
2724
.isPublishSidebarOpened();

0 commit comments

Comments
 (0)