Commit 9186964 1 parent e744018 commit 9186964 Copy full SHA for 9186964
File tree 1 file changed +3
-4
lines changed
packages/block-editor/src/store
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ import {
35
35
privateRemoveBlocks ,
36
36
} from './private-actions' ;
37
37
import { STORE_NAME } from './constants' ;
38
- import { unlock } from '../lock-unlock' ;
39
38
40
39
/** @typedef {import('../components/use-on-block-drop/types').WPDropOperation } WPDropOperation */
41
40
@@ -1674,9 +1673,9 @@ export const __unstableSetEditorMode =
1674
1673
// When switching to zoom-out mode, we need to select the parent section
1675
1674
if ( mode === 'zoom-out' ) {
1676
1675
const firstSelectedClientId = select . getBlockSelectionStart ( ) ;
1677
- const { sectionRootClientId } = unlock (
1678
- registry . select ( STORE_NAME ) . getSettings ( )
1679
- ) ;
1676
+ const { sectionRootClientId } = registry
1677
+ . select ( STORE_NAME )
1678
+ . getSettings ( ) ;
1680
1679
if ( firstSelectedClientId ) {
1681
1680
let sectionClientId ;
1682
1681
You can’t perform that action at this time.
0 commit comments