diff -r 1f340f3597a8 -r ea92f4fe783d client/src/index.js --- a/client/src/index.js Tue Oct 09 19:07:47 2018 +0200 +++ b/client/src/index.js Mon Oct 08 18:35:47 2018 +0200 @@ -2,8 +2,9 @@ import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { Route, Switch } from 'react-router'; -import { ConnectedRouter } from 'react-router-redux'; +import { ConnectedRouter } from 'connected-react-router'; import createHistory from 'history/createBrowserHistory'; +import { PersistGate } from 'redux-persist/integration/react' import App from './App'; import SessionList from './components/SessionList'; @@ -22,22 +23,24 @@ const history = createHistory({ basename: config.basename }); -const store = configureStore(history); +const { store, persistor } = configureStore(history); ReactDOM.render( - - - - - - - - - - - - + + + + + + + + + + + + + + , document.getElementById('root') );