Skip to content

Commit

Permalink
Rolling back change in favour of #58533
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Feb 4, 2024
1 parent aed94fc commit e2e5922
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ListViewBlockContents = forwardRef(
},
ref
) => {
const clientId = block?.clientId;
const { clientId } = block;

const { blockMovingClientId, selectedBlockInBlockEditor } = useSelect(
( select ) => {
Expand All @@ -50,10 +50,6 @@ const ListViewBlockContents = forwardRef(
const { AdditionalBlockContent, insertedBlock, setInsertedBlock } =
useListViewContext();

if ( ! clientId ) {
return null;
}

const isBlockMoveTarget =
blockMovingClientId && selectedBlockInBlockEditor === clientId;

Expand Down

0 comments on commit e2e5922

Please sign in to comment.