diff --git a/web/app/components/i18n.tsx b/web/app/components/i18n.tsx index 7fe1df23e0..f04f8d6cbe 100644 --- a/web/app/components/i18n.tsx +++ b/web/app/components/i18n.tsx @@ -2,7 +2,6 @@ import type { FC } from 'react' import React, { useEffect } from 'react' -import { changeLanguage } from '@/i18n/i18next-config' import I18NContext from '@/context/i18n' import type { Locale } from '@/i18n' import { setLocaleOnClient } from '@/i18n' @@ -16,7 +15,7 @@ const I18n: FC = ({ children, }) => { useEffect(() => { - changeLanguage(locale) + setLocaleOnClient(locale, false) }, [locale]) return (