Skip to content

Commit e2e5922

Browse files
committed
Rolling back change in favour of #58533
1 parent aed94fc commit e2e5922

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/block-editor/src/components/list-view/block-contents.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const ListViewBlockContents = forwardRef(
3333
},
3434
ref
3535
) => {
36-
const clientId = block?.clientId;
36+
const { clientId } = block;
3737

3838
const { blockMovingClientId, selectedBlockInBlockEditor } = useSelect(
3939
( select ) => {
@@ -50,10 +50,6 @@ const ListViewBlockContents = forwardRef(
5050
const { AdditionalBlockContent, insertedBlock, setInsertedBlock } =
5151
useListViewContext();
5252

53-
if ( ! clientId ) {
54-
return null;
55-
}
56-
5753
const isBlockMoveTarget =
5854
blockMovingClientId && selectedBlockInBlockEditor === clientId;
5955

0 commit comments

Comments
 (0)