🐛 Page blanche publicodes

pull/955/head
Mael 2020-04-03 10:52:33 +02:00
parent 02bec70731
commit ed5dc9958b
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ export default class Provider extends PureComponent<ProviderProps> {
history: this.history,
sitePaths: this.props.sitePaths
}),
...props.reduxMiddlewares
...(props.reduxMiddlewares ?? [])
)
)
if (this.props.language) {

View File

@ -282,7 +282,7 @@ const mainReducer = (state, action: Action) =>
a,
b,
a && analysisWithDefaultsSelector(state),
state.inFranceApp?.existingCompany
state?.inFranceApp?.existingCompany
),
previousSimulation: defaultTo(null) as Reducer<SavedSimulation | null>,
currentExample,