diff --git a/packages/block-editor/src/components/list-view/block-contents.js b/packages/block-editor/src/components/list-view/block-contents.js index c683a2478ddba..0537a4b48cbe4 100644 --- a/packages/block-editor/src/components/list-view/block-contents.js +++ b/packages/block-editor/src/components/list-view/block-contents.js @@ -33,7 +33,7 @@ const ListViewBlockContents = forwardRef( }, ref ) => { - const clientId = block?.clientId; + const { clientId } = block; const { blockMovingClientId, selectedBlockInBlockEditor } = useSelect( ( select ) => { @@ -50,10 +50,6 @@ const ListViewBlockContents = forwardRef( const { AdditionalBlockContent, insertedBlock, setInsertedBlock } = useListViewContext(); - if ( ! clientId ) { - return null; - } - const isBlockMoveTarget = blockMovingClientId && selectedBlockInBlockEditor === clientId;