Skip to content

Commit

Permalink
fix(landingpage): remove initial query param
Browse files Browse the repository at this point in the history
  • Loading branch information
janivo committed Dec 20, 2023
1 parent b5f4762 commit 3ab7c21
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/landingpage/translations/useDefaultLocale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ function useDefaultLocale() {

return () => {
const initLang = getInitialLocale();
router.push({
pathname: router.pathname,
query: {
lang: initLang,
},
});
router.push(initLang);
};
}

Expand Down

0 comments on commit 3ab7c21

Please sign in to comment.