Skip to content

Commit

Permalink
remove duplicated category
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu authored and ellatrix committed Nov 29, 2024
1 parent 8f1a1ff commit 5ac83d8
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,6 @@ export function usePatternCategories( rootClientId, sourceFilter = 'all' ) {
) {
categories.unshift( starterPatternsCategory );
}
if (
filteredPatterns.some( ( pattern ) =>
pattern.blockTypes?.includes( 'core/post-content' )
)
) {
categories.unshift( starterPatternsCategory );
}
if (
filteredPatterns.some(
( pattern ) => pattern.type === INSERTER_PATTERN_TYPES.user
Expand Down

0 comments on commit 5ac83d8

Please sign in to comment.