Skip to content

Commit

Permalink
Remove operation type from conditional check
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Dec 16, 2024
1 parent 9671133 commit bc2c594
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ export default function useBlockDropZone( {
dropTargetPosition;

const isTargetIndexEmptyDefaultBlock =
operation === 'replace' &&
blocksData[ targetIndex ]?.isUnmodifiedDefaultBlock;

if (
Expand Down

0 comments on commit bc2c594

Please sign in to comment.