From c4688c1cb12c3559509bc476ef2e7a069bb20594 Mon Sep 17 00:00:00 2001 From: Johan Girod Date: Wed, 6 Feb 2019 10:32:23 +0100 Subject: [PATCH] =?UTF-8?q?Enl=C3=A8ve=20la=20sauvegarde=20auto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/sites/mycompanyinfrance.fr/App.js | 54 ++++++++++++------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/source/sites/mycompanyinfrance.fr/App.js b/source/sites/mycompanyinfrance.fr/App.js index 0213d5dba..e552e8be8 100644 --- a/source/sites/mycompanyinfrance.fr/App.js +++ b/source/sites/mycompanyinfrance.fr/App.js @@ -1,29 +1,29 @@ -import RulePage from 'Components/RulePage'; -import TrackPageView from 'Components/utils/TrackPageView'; -import withSitePaths from 'Components/utils/withSitePaths'; -import { defaultTracker } from 'Components/utils/withTracker'; -import { compose } from 'ramda'; -import createRavenMiddleware from 'raven-for-redux'; -import Raven from 'raven-js'; -import React, { Component } from 'react'; -import Helmet from 'react-helmet'; -import { withNamespaces } from 'react-i18next'; -import { Route, Switch } from 'react-router-dom'; -import 'Ui/index.css'; -import Provider from '../../Provider'; -import { persistEverything, retrievePersistedState } from '../../storage/persistEverything'; -import ReactPiwik from '../../Tracker'; -import './App.css'; -import Footer from './layout/Footer/Footer'; -import Navigation from './layout/Navigation/Navigation'; -import ProgressHeader from './layout/ProgressHeader/ProgressHeader'; -import trackSimulatorActions from './middlewares/trackSimulatorActions'; -import CompanyIndex from './pages/Company'; -import HiringProcess from './pages/HiringProcess'; -import Landing from './pages/Landing'; -import Sitemap from './pages/Sitemap'; -import SocialSecurity from './pages/SocialSecurity'; -import sitePaths from './sitePaths'; +import RulePage from 'Components/RulePage' +import TrackPageView from 'Components/utils/TrackPageView' +import withSitePaths from 'Components/utils/withSitePaths' +import { defaultTracker } from 'Components/utils/withTracker' +import { compose } from 'ramda' +import createRavenMiddleware from 'raven-for-redux' +import Raven from 'raven-js' +import React, { Component } from 'react' +import Helmet from 'react-helmet' +import { withNamespaces } from 'react-i18next' +import { Route, Switch } from 'react-router-dom' +import 'Ui/index.css' +import Provider from '../../Provider' +import { persistEverything } from '../../storage/persistEverything' +import ReactPiwik from '../../Tracker' +import './App.css' +import Footer from './layout/Footer/Footer' +import Navigation from './layout/Navigation/Navigation' +import ProgressHeader from './layout/ProgressHeader/ProgressHeader' +import trackSimulatorActions from './middlewares/trackSimulatorActions' +import CompanyIndex from './pages/Company' +import HiringProcess from './pages/HiringProcess' +import Landing from './pages/Landing' +import Sitemap from './pages/Sitemap' +import SocialSecurity from './pages/SocialSecurity' +import sitePaths from './sitePaths' if (process.env.NODE_ENV === 'production') { Raven.config( @@ -61,7 +61,7 @@ class InFranceRoute extends Component { sitePaths={paths} reduxMiddlewares={middlewares} onStoreCreated={persistEverything()} - initialStore={{ ...retrievePersistedState() }}> + initialStore={{}}>