Enlève la sauvegarde auto

pull/454/head
Johan Girod 2019-02-06 10:32:23 +01:00
parent c498fd220d
commit c4688c1cb1
1 changed files with 27 additions and 27 deletions

View File

@ -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={{}}>
<TrackPageView />
<div id="content">
<RouterSwitch />