Skip to content

Commit

Permalink
Make comment more explanatory
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Feb 15, 2024
1 parent 114537b commit 72b5b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/store/private-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const privateRemoveBlocks =
clientId,
'core/block'
);
// If the overriden block is a child of a core/block, skip it.
// We only need to run this check when editing the original pattern, not pattern instances.
if ( parentPatternBlocks?.length > 0 ) {
continue;
}
Expand Down

0 comments on commit 72b5b6b

Please sign in to comment.