diff --git a/packages/block-editor/src/store/private-selectors.js b/packages/block-editor/src/store/private-selectors.js index 3c4d2466661d10..61b17a3625d159 100644 --- a/packages/block-editor/src/store/private-selectors.js +++ b/packages/block-editor/src/store/private-selectors.js @@ -2,7 +2,6 @@ * WordPress dependencies */ import { createSelector, createRegistrySelector } from '@wordpress/data'; -import { store as preferencesStore } from '@wordpress/preferences'; /** * Internal dependencies @@ -118,7 +117,7 @@ export const getEnabledClientIdsTree = createRegistrySelector( ( select ) => state.blockEditingModes, state.settings.templateLock, state.blockListSettings, - select( preferencesStore ).get( 'core', 'editorTool' ), + select( STORE_NAME ).__unstableGetEditorMode( state ), ] ) );