diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-11 19:47:49 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-12 00:13:57 +0200 |
commit | b494d2d141a942b0905ac46a551ff42878f0f081 (patch) | |
tree | 18d94a3e86d0749f013075a110d6c43efaa782de /frontend/src/routes.js | |
parent | Add time limit setting (diff) | |
download | seven-wonders-b494d2d141a942b0905ac46a551ff42878f0f081.tar.gz seven-wonders-b494d2d141a942b0905ac46a551ff42878f0f081.tar.bz2 seven-wonders-b494d2d141a942b0905ac46a551ff42878f0f081.zip |
First attempt at lobby joining
Diffstat (limited to 'frontend/src/routes.js')
-rw-r--r-- | frontend/src/routes.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/src/routes.js b/frontend/src/routes.js index 2e95abda..16800736 100644 --- a/frontend/src/routes.js +++ b/frontend/src/routes.js @@ -14,6 +14,7 @@ export const makeSagaRoutes = wsConnection => ({ import { HomeLayout, LobbyLayout } from './layouts' import HomePage from './containers/home' import GameBrowser from './containers/gameBrowser' +import Lobby from './containers/lobby' import Error404 from './components/errors/Error404' export const routes = [ @@ -26,7 +27,8 @@ export const routes = [ path: '/', component: LobbyLayout, childRoutes: [ - { path: '/games', component: GameBrowser } + { path: '/games', component: GameBrowser }, + { path: '/lobby', component: Lobby } ] }, { |