diff --git a/packages/block-editor/src/components/block-tools/zoom-out-mode-inserters.js b/packages/block-editor/src/components/block-tools/zoom-out-mode-inserters.js index dc8c55112cd19..f0fc86f2da325 100644 --- a/packages/block-editor/src/components/block-tools/zoom-out-mode-inserters.js +++ b/packages/block-editor/src/components/block-tools/zoom-out-mode-inserters.js @@ -14,79 +14,27 @@ import BlockPopoverInbetween from '../block-popover/inbetween'; import { store as blockEditorStore } from '../../store'; import { unlock } from '../../lock-unlock'; -function Inserter( { - previousClientId, - nextClientId, - sectionRootClientId, - index, - setActiveInserter, -} ) { - const { setInserterIsOpened, insertionIndex } = useSelect( - ( select ) => { - const { getSettings, getBlockCount } = select( blockEditorStore ); - const settings = getSettings(); - return { - setInserterIsOpened: settings.__experimentalSetIsInserterOpened, - insertionIndex: index === -1 ? getBlockCount() : index, - }; - }, - [ index ] - ); - - const label = _x( - 'Add pattern', - 'Generic label for pattern inserter button' - ); - return ( - -