Skip to content

Commit

Permalink
Patterns: Fix sidebar nav screen fallback category (#54754)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Sep 24, 2023
1 parent 19f2bac commit 6f22577
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default function SidebarNavigationScreenPatterns() {
const isMobileViewport = useViewportMatch( 'medium', '<' );
const { categoryType, categoryId } = getQueryArgs( window.location.href );
const currentCategory = categoryId || PATTERN_DEFAULT_CATEGORY;
const currentType = categoryType || PATTERN_TYPES.user;
const currentType = categoryType || PATTERN_TYPES.theme;

const { templatePartAreas, hasTemplateParts, isLoading } =
useTemplatePartAreas();
Expand Down

0 comments on commit 6f22577

Please sign in to comment.