diff options
Diffstat (limited to 'frontend/src/index.js')
-rw-r--r-- | frontend/src/index.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/frontend/src/index.js b/frontend/src/index.js index 2dc2442c..5441edc0 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -3,21 +3,18 @@ import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { ConnectedRouter } from 'react-router-redux'; -import { Route, Switch } from 'react-router'; import { Provider } from 'react-redux'; import './global-styles.css'; import configureStore from './store'; -import HomePage from './containers/home'; +import Routes from './scenes'; const initialState = {}; const { store, history } = configureStore(initialState); ReactDOM.render( <Provider store={store}> <ConnectedRouter history={history}> - <Switch> - <Route path="/" component={HomePage} /> - </Switch> + <Routes /> </ConnectedRouter> </Provider>, document.getElementById('root') |