Skip to content

Commit

Permalink
Patterns: Fix All Patterns category default display (#54721)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored and mikachan committed Sep 22, 2023
1 parent 2831076 commit 93dd8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/page-patterns/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { ExperimentalBlockEditorProvider } = unlock( blockEditorPrivateApis );

export default function PagePatterns() {
const { categoryType, categoryId } = getQueryArgs( window.location.href );
const type = categoryType || PATTERN_TYPES.user;
const type = categoryType || PATTERN_TYPES.theme;
const category = categoryId || PATTERN_DEFAULT_CATEGORY;
const settings = usePatternSettings();

Expand Down

0 comments on commit 93dd8a6

Please sign in to comment.