Skip to content

Commit

Permalink
Merge pull request #1124 from prezly/feature/dev-12746-regular-catego…
Browse files Browse the repository at this point in the history
…ry-is-missing-locale-in-the-category-dropdown

[DEV-12746] Fix - Also provide locale when generating a link
  • Loading branch information
kudlajz authored Apr 5, 2024
2 parents e3746b3 + f618da3 commit fe0bc30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/Header/ui/CategoriesNav/CategoriesNavDesktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ export function CategoriesNavDesktop({
routeName: 'category',
params: {
slug: translatedCategory.slug,
localeCode:
translatedCategory.locale,
},
}}
onClick={close}
Expand Down

0 comments on commit fe0bc30

Please sign in to comment.