diff -r d48a74232d22 -r 0a1d6560acac client/src/index.js --- a/client/src/index.js Wed Jun 28 14:44:02 2017 +0200 +++ b/client/src/index.js Thu Jun 29 12:05:09 2017 +0200 @@ -1,7 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; -import { Route } from 'react-router'; +import { Route, Switch } from 'react-router'; import { ConnectedRouter } from 'react-router-redux'; import createHistory from 'history/createBrowserHistory'; @@ -15,6 +15,7 @@ import registerServiceWorker from './registerServiceWorker'; import configureStore from './store/configureStore'; import config from './config'; +import AuthenticatedRoute from './misc/AuthenticatedRoute'; const history = createHistory({ basename: config.basename @@ -24,14 +25,14 @@ ReactDOM.render( -
- + + -
+
, document.getElementById('root')