🐛 répare la récupération de la simulation précédente

pull/410/head
Johan Girod 2018-10-17 12:41:26 +02:00
parent c60b3812ed
commit d18f4cff35
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import computeThemeColours from 'Ui/themeColours'
import { simulationTargetNames } from '../config.js'
import defaultLang from '../i18n'
import inFranceAppReducer from './inFranceAppReducer'
import storageReducer from './storageReducer'
import type { Action } from 'Types/ActionsTypes'
// TODO : use context API instead
@ -160,6 +161,7 @@ const existingCompanyReducer = (state, action) => {
}
export default reduceReducers(
existingCompanyReducer,
storageReducer,
combineReducers({
sessionId: defaultTo(Math.floor(Math.random() * 1000000000000) + ''),
// this is handled by redux-form, pas touche !