fix: html lang attr (#718)

This commit is contained in:
boojack
2022-12-10 10:42:10 +08:00
committed by GitHub
parent 964c58ac01
commit 4a64a4dea8

View File

@ -46,6 +46,7 @@ function App() {
}, [systemStatus]);
useEffect(() => {
document.documentElement.setAttribute("lang", locale);
i18n.changeLanguage(locale);
storage.set({
locale: locale,