Corrige la page blanche sur les simulations

pull/444/head
Johan Girod 2019-01-08 12:16:52 +01:00
parent 64587f9484
commit 5eef4d7057
2 changed files with 1 additions and 2 deletions

View File

@ -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>

View File

@ -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