Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove duplicated category
  • Loading branch information
draganescu authored and scruffian committed Dec 17, 2024
commit 2f20ab1b533942370d4dde91533c11dec62164c6
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
Loading