Skip to content

Commit 19bf38f

Browse files
committed
remove uneeded router
1 parent e18c087 commit 19bf38f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/components/language-switcher.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ export const LanguageSwitcher = () => {
3838
const catalog = await import(`../locales/${localeString}/messages.js`)
3939
i18n.load(localeString, catalog.messages)
4040
i18n.activate(localeString)
41-
router.push(pathname, { locale: localeString })
4241
}
4342

4443
useEffect(() => {

0 commit comments

Comments
 (0)