🐛 répare la page blanche au chargement
parent
cf3b220124
commit
ccf34fb2d7
|
@ -29,7 +29,8 @@ const Montant = ({
|
|||
<span className={'montant ' + className} style={style}>
|
||||
{value === 0 || Number.isNaN(value)
|
||||
? '—'
|
||||
: NumberFormat(language, {
|
||||
: // // $FlowFixMe
|
||||
NumberFormat(language, {
|
||||
style: type,
|
||||
currency: 'EUR',
|
||||
maximumFractionDigits: numFractionDigit,
|
||||
|
|
|
@ -65,7 +65,7 @@ class InFranceRoute extends Component {
|
|||
sitePaths={paths}
|
||||
reduxMiddlewares={middlewares}
|
||||
onStoreCreated={persistEverything()}
|
||||
initialStore={retrievePersistedState()}>
|
||||
initialStore={retrievePersistedState() || {}}>
|
||||
<TrackPageView />
|
||||
<div id="content">
|
||||
<RouterSwitch />
|
||||
|
|
Loading…
Reference in New Issue