diff --git a/packages/block-editor/src/components/block-lock/modal.js b/packages/block-editor/src/components/block-lock/modal.js index cfafa6c031bbd1..11a03c5aff4dd8 100644 --- a/packages/block-editor/src/components/block-lock/modal.js +++ b/packages/block-editor/src/components/block-lock/modal.js @@ -13,7 +13,6 @@ import { ToggleControl, } from '@wordpress/components'; import { lock as lockIcon, unlock as unlockIcon } from '@wordpress/icons'; -import { useInstanceId } from '@wordpress/compose'; import { useDispatch, useSelect } from '@wordpress/data'; import { getBlockType } from '@wordpress/blocks'; @@ -64,10 +63,6 @@ export default function BlockLockModal( { clientId, onClose } ) { ); const { updateBlockAttributes } = useDispatch( blockEditorStore ); const blockInformation = useBlockDisplayInformation( clientId ); - const instanceId = useInstanceId( - BlockLockModal, - 'block-editor-block-lock-modal__options-title' - ); useEffect( () => { setLock( { @@ -90,11 +85,6 @@ export default function BlockLockModal( { clientId, onClose } ) { overlayClassName="block-editor-block-lock-modal" onRequestClose={ onClose } > -
- { __( - 'Choose specific attributes to restrict or lock all available options.' - ) } -