Fix subscription page bugs

This commit is contained in:
Yang Luo
2023-06-03 10:15:29 +08:00
parent 51a76518ad
commit 9cffb43265
7 changed files with 11 additions and 20 deletions

View File

@ -223,7 +223,7 @@ class App extends Component {
setLanguage(account) {
const language = account?.language;
if (language !== "" && language !== i18next.language) {
if (language !== null && language !== "" && language !== i18next.language) {
Setting.setLanguage(language);
}
}