Remove change_language call on loading app

This commit is contained in:
Ildar Kamalov
2018-11-26 11:48:06 +03:00
parent 18f210eef5
commit 903c1da993
2 changed files with 2 additions and 5 deletions

View File

@@ -39,9 +39,7 @@ class App extends Component {
const { processing, language } = this.props.dashboard;
if (!processing) {
if (!language) {
this.props.changeLanguage(i18n.language);
} else {
if (language) {
i18n.changeLanguage(language);
}
}