summaryrefslogtreecommitdiff
path: root/frontend/src/components/Application.jsx
diff options
context:
space:
mode:
authorjbion <joffrey.bion@amadeus.com>2019-02-22 23:09:40 +0100
committerjbion <joffrey.bion@amadeus.com>2019-02-22 23:09:40 +0100
commit27990fcba5a47252df617db1bc98e2276b326e7e (patch)
tree7fba886ae83379ee9d76e6540efae7b0e7ce2a25 /frontend/src/components/Application.jsx
parentFix websocket value when no message body is received (diff)
downloadseven-wonders-27990fcba5a47252df617db1bc98e2276b326e7e.tar.gz
seven-wonders-27990fcba5a47252df617db1bc98e2276b326e7e.tar.bz2
seven-wonders-27990fcba5a47252df617db1bc98e2276b326e7e.zip
Implement Game start
Diffstat (limited to 'frontend/src/components/Application.jsx')
-rw-r--r--frontend/src/components/Application.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/src/components/Application.jsx b/frontend/src/components/Application.jsx
index d7e1738c..e0ec604d 100644
--- a/frontend/src/components/Application.jsx
+++ b/frontend/src/components/Application.jsx
@@ -1,11 +1,13 @@
import React from 'react';
import { Redirect, Route, Switch } from 'react-router-dom';
import { GameBrowser } from './game-browser/GameBrowser';
+import { GameScene } from './game/GameScene';
import { Lobby } from './lobby/Lobby';
import { Home } from './home/Home';
export const Application = () => (
<Switch>
+ <Route path="/game" component={GameScene} />
<Route path="/games" component={GameBrowser} />
<Route path="/lobby" component={Lobby} />
<Route path="/" component={Home} />
bgstack15