jack 2 weeks ago
parent
commit
5c5bd5c37f
1 changed files with 5 additions and 3 deletions
  1. 5 3
      src/components/App.tsx

+ 5 - 3
src/components/App.tsx

@@ -5572,9 +5572,11 @@ class App extends React.Component<AppProps, AppState> {
   }
 
   private async updateLanguage() {
-    const currentLang =
-      languages.find((lang) => lang.code === this.props.langCode) ||
-      defaultLang;
+    // const currentLang =
+    //   languages.find((lang) => lang.code === this.props.langCode) ||
+    //   defaultLang;
+    const currentLang = defaultLang;
+
     await setLanguage(currentLang);
     this.setAppState({});
   }