Unverified Commit 4a64a4de authored by boojack's avatar boojack Committed by GitHub

fix: html lang attr (#718)

parent 964c58ac
...@@ -46,6 +46,7 @@ function App() { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment