diff --git a/packages/block-editor/src/components/block-navigation/appender.js b/packages/block-editor/src/components/block-navigation/appender.js index 391b72daccd23b..92d60146ca9ba3 100644 --- a/packages/block-editor/src/components/block-navigation/appender.js +++ b/packages/block-editor/src/components/block-navigation/appender.js @@ -15,7 +15,6 @@ import { useSelect } from '@wordpress/data'; * Internal dependencies */ import BlockNavigationLeaf from './leaf'; -import Indentation from './indentation'; import Inserter from '../inserter'; import { store as blockEditorStore } from '../../store'; @@ -63,7 +62,6 @@ export default function BlockNavigationAppender( { > { ( { ref, tabIndex, onFocus } ) => (
- - { blockInformation?.anchor && ( diff --git a/packages/block-editor/src/components/block-navigation/indentation.js b/packages/block-editor/src/components/block-navigation/indentation.js deleted file mode 100644 index 6ec4e5206134c8..00000000000000 --- a/packages/block-editor/src/components/block-navigation/indentation.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * External dependencies - */ -import { times } from 'lodash'; -import classnames from 'classnames'; - -const lineClassName = 'block-editor-block-navigator-indentation'; - -export default function Indentation( { level } ) { - return times( level - 1, ( index ) => { - // The first 'level' that has an indentation is level 2. - // Add 2 to the zero-based index below to reflect that. - const currentLevel = index + 2; - const hasItem = currentLevel === level; - return ( -