|
|
@@ -47,10 +47,7 @@ export default class AppContainer extends Container {
|
|
|
this.currentUser = JSON.parse(currentUserElem.textContent);
|
|
|
}
|
|
|
|
|
|
- let userLocaleId;
|
|
|
- if (this.currentUser != null) {
|
|
|
- userLocaleId = this.currentUser.lang;
|
|
|
- }
|
|
|
+ const userLocaleId = this.currentUser?.lang;
|
|
|
this.i18n = i18nFactory(userLocaleId);
|
|
|
|
|
|
this.containerInstances = {};
|