summaryrefslogtreecommitdiff
path: root/frontend/src/index.js
diff options
context:
space:
mode:
authorVictor Chabbert <chabbertvi@eisti.eu>2017-01-22 12:46:01 +0100
committerVictor Chabbert <chabbertvi@eisti.eu>2017-01-22 12:46:01 +0100
commit3f2c73cccc554c87bfe39ab706bf01690fb28baf (patch)
tree2e20d1de318acbda019242a6336495c526ce110f /frontend/src/index.js
parentAns /user/queue/lobby/joined message on game creation (diff)
downloadseven-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.js6
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>,
bgstack15