mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: html lang attr (#718)
This commit is contained in:
@ -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