We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed94fc commit e2e5922Copy full SHA for e2e5922
packages/block-editor/src/components/list-view/block-contents.js
@@ -33,7 +33,7 @@ const ListViewBlockContents = forwardRef(
33
},
34
ref
35
) => {
36
- const clientId = block?.clientId;
+ const { clientId } = block;
37
38
const { blockMovingClientId, selectedBlockInBlockEditor } = useSelect(
39
( select ) => {
@@ -50,10 +50,6 @@ const ListViewBlockContents = forwardRef(
50
const { AdditionalBlockContent, insertedBlock, setInsertedBlock } =
51
useListViewContext();
52
53
- if ( ! clientId ) {
54
- return null;
55
- }
56
-
57
const isBlockMoveTarget =
58
blockMovingClientId && selectedBlockInBlockEditor === clientId;
59
0 commit comments