diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-22 12:46:01 +0100 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-22 12:46:01 +0100 |
commit | 3f2c73cccc554c87bfe39ab706bf01690fb28baf (patch) | |
tree | 2e20d1de318acbda019242a6336495c526ce110f /frontend/src/index.js | |
parent | Ans /user/queue/lobby/joined message on game creation (diff) | |
download | seven-wonders-3f2c73cccc554c87bfe39ab706bf01690fb28baf.tar.gz seven-wonders-3f2c73cccc554c87bfe39ab706bf01690fb28baf.tar.bz2 seven-wonders-3f2c73cccc554c87bfe39ab706bf01690fb28baf.zip |
Handle game browser
Diffstat (limited to 'frontend/src/index.js')
-rw-r--r-- | frontend/src/index.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/src/index.js b/frontend/src/index.js index 7622cd52..f06bb7b4 100644 --- a/frontend/src/index.js +++ b/frontend/src/index.js @@ -11,14 +11,16 @@ const { store, history } = configureStore(initialState) import './global-styles.css' import HomePage from './containers/home' +import GameBrowser from './containers/app' import Error404 from './components/errors/Error404' ReactDOM.render( <Provider store={store}> <Router history={history}> <div className="app"> - <Route path="/" component={HomePage}/> - <Route path="*" component={Error404}/> + <Route path="/" component={HomePage} /> + <Route path="/games" component={GameBrowser} /> + <Route path="*" component={Error404} /> </div> </Router> </Provider>, |