fix: html lang attr (#718)

This commit is contained in:
boojack authored and GitHub committed 2022-12-10 10:42:10 +08:00
1 parent 964c58ac01
commit 4a64a4dea8
1 file changed
+1
+1
View File
@@ -46,6 +46,7 @@ function App() {
}, [systemStatus]);
useEffect(() => {
document.documentElement.setAttribute("lang", locale);
i18n.changeLanguage(locale);
storage.set({
locale: locale,