mirror of
https://github.com/usememos/memos.git
synced 2026-12-04 10:24:22 +01:00
fix: html lang attr (#718)
This commit is contained in:
1 parent
964c58ac01
commit
4a64a4dea8
1 file changed
+1
@@ -46,6 +46,7 @@ function App() {
|
||||
}, [systemStatus]);
|
||||
|
||||
useEffect(() => {
|
||||
document.documentElement.setAttribute("lang", locale);
|
||||
i18n.changeLanguage(locale);
|
||||
storage.set({
|
||||
locale: locale,
|
||||
|
||||
Reference in new issue
Block a user