From 936f7e32781f2d90fa3e3460758005d807fa6120 Mon Sep 17 00:00:00 2001 From: Victor Chabbert Date: Sun, 22 Jan 2017 17:19:33 +0100 Subject: Move saga and router routes in a single file --- frontend/src/index.js | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'frontend/src/index.js') diff --git a/frontend/src/index.js b/frontend/src/index.js index d5190d53..1959b14a 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -2,30 +2,19 @@ import 'babel-polyfill' import React from 'react' import ReactDOM from 'react-dom' -import { Router, Route, IndexRoute } from 'react-router' +import { Router } from 'react-router' import { Provider } from 'react-redux' import configureStore from './store' +import { routes } from './routes' const initialState = {} const { store, history } = configureStore(initialState) import './global-styles.css' -import HomePage from './containers/home' -import { LobbyLayout } from './layouts' -import GameBrowser from './containers/gameBrowser' -import Error404 from './components/errors/Error404' ReactDOM.render( - -
- - - - - -
-
+
, document.getElementById('root') ); -- cgit