Skip to content

Commit

Permalink
reworded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed Jun 19, 2024
1 parent b23b1fe commit 68b1a33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function Shuffle( { clientId, as = Container } ) {
// Check if the pattern has only one top level block,
// otherwise we may shuffle to pattern that will not allow to continue shuffling.
pattern.blocks.length === 1 &&
// We exclude the pattern directory and core patterns that are not theme patterns.
// We exclude the core patterns and pattern directory patterns that are not theme patterns.
! isCorePattern &&
pattern.categories?.some( ( category ) => {
return categories.includes( category );
Expand Down

0 comments on commit 68b1a33

Please sign in to comment.