diff --git a/packages/block-editor/src/components/block-list/index.js b/packages/block-editor/src/components/block-list/index.js index 87784cef2fbf5..46e5d56f9f031 100644 --- a/packages/block-editor/src/components/block-list/index.js +++ b/packages/block-editor/src/components/block-list/index.js @@ -27,25 +27,20 @@ export const IntersectionObserver = createContext(); function Root( { className, children } ) { const isLargeViewport = useViewportMatch( 'medium' ); - const { - isTyping, - isOutlineMode, - isFocusMode, - isNavigationMode, - } = useSelect( ( select ) => { - const { - isTyping: _isTyping, - getSettings, - isNavigationMode: _isNavigationMode, - } = select( blockEditorStore ); - const { outlineMode, focusMode } = getSettings(); - return { - isTyping: _isTyping(), - isOutlineMode: outlineMode, - isFocusMode: focusMode, - isNavigationMode: _isNavigationMode(), - }; - }, [] ); + const { isOutlineMode, isFocusMode, isNavigationMode } = useSelect( + ( select ) => { + const { getSettings, isNavigationMode: _isNavigationMode } = select( + blockEditorStore + ); + const { outlineMode, focusMode } = getSettings(); + return { + isOutlineMode: outlineMode, + isFocusMode: focusMode, + isNavigationMode: _isNavigationMode(), + }; + }, + [] + ); return (