fix: html lang attr (#718)
This commit is contained in:
parent
964c58ac01
commit
4a64a4dea8
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ function App() {
|
||||||
}, [systemStatus]);
|
}, [systemStatus]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
document.documentElement.setAttribute("lang", locale);
|
||||||
i18n.changeLanguage(locale);
|
i18n.changeLanguage(locale);
|
||||||
storage.set({
|
storage.set({
|
||||||
locale: locale,
|
locale: locale,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue