Corrige la page blanche sur les simulations
parent
64587f9484
commit
5eef4d7057
|
@ -2,7 +2,6 @@ import Simulateur from 'Components/Simu'
|
|||
import salariéConfig from 'Components/simulationConfigs/salarié.yaml'
|
||||
import withSimulationConfig from 'Components/simulationConfigs/withSimulationConfig'
|
||||
import React from 'react'
|
||||
|
||||
const Salarié = () => (
|
||||
<>
|
||||
<p>
|
||||
|
|
|
@ -12,7 +12,7 @@ const SocialSecurityRoutes = ({ match }) => (
|
|||
<>
|
||||
<ScrollToTop />
|
||||
<Switch>
|
||||
<Route path={`${match.path}`} component={Home} />
|
||||
<Route exact path={`${match.path}`} component={Home} />
|
||||
<Route path={`${match.path}/règle/:name`} component={RulePage} />
|
||||
<Route path={`${match.path}/salarié`} component={Salarié} />
|
||||
<Route
|
||||
|
|
Loading…
Reference in New Issue