diff --git a/mon-entreprise/source/components/utils/useSimulationConfig.ts b/mon-entreprise/source/components/utils/useSimulationConfig.ts index 584259823..e358dd80f 100644 --- a/mon-entreprise/source/components/utils/useSimulationConfig.ts +++ b/mon-entreprise/source/components/utils/useSimulationConfig.ts @@ -5,7 +5,7 @@ import { useHistory } from 'react-router' import { Company } from 'Reducers/inFranceAppReducer' import { RootState, SimulationConfig, Situation } from 'Reducers/rootReducer' -export default function useSituationConfig( +export default function useSimulationConfig( config: SimulationConfig | undefined, { useExistingCompanyFromSituation = false } = {} ) {