🐛 Exception

indeps-refactor-simulations
Mael 2019-01-15 20:14:06 +01:00
parent 879f54f958
commit 320e3c89e0
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ export default class Layout extends PureComponent {
)
if (this.props.language) {
i18next.changeLanguage(this.props.language)
this.props.initialStore.lang = this.props.language
if (this.props.initialStore)
this.props.initialStore.lang = this.props.language
}
this.store = createStore(
enableBatching(reducers),