diff --git a/src/client/components/NavBar/NavBar.tsx b/src/client/components/NavBar/NavBar.tsx index ba7ef628..57a9430d 100644 --- a/src/client/components/NavBar/NavBar.tsx +++ b/src/client/components/NavBar/NavBar.tsx @@ -30,7 +30,7 @@ const NavBar = () => { const { user, isLoading } = useLoggedInUser() useEffect(() => { - if (user?.language) { + if (!inProduction && user?.language) { i18n.changeLanguage(user.language) } }, [user, i18n])