Merge pull request #955 from betagouv/publicodes-page-blanche

🐛 Page blanche publicodes
pull/956/head
Mael 2020-04-03 11:10:45 +02:00 committed by GitHub
commit 6f929054c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,