diff --git a/apps/website/index.html b/apps/website/index.html index 798ca14f9..55cb4fa6a 100644 --- a/apps/website/index.html +++ b/apps/website/index.html @@ -1,5 +1,5 @@ - +
diff --git a/apps/website/src/index.tsx b/apps/website/src/index.tsx index 78dcb6556..3858165fd 100644 --- a/apps/website/src/index.tsx +++ b/apps/website/src/index.tsx @@ -52,12 +52,6 @@ export function LocaleProvider({ children }) { changeLanguage(localeId); } - useLayoutEffect(() => { - const correspondingLocale = LOCALES.find(l => l.id === localeId); - document.documentElement.lang = localeId; - document.documentElement.dir = correspondingLocale?.rtl ? "rtl" : "ltr"; - }, [ localeId ]); - return (