diff options
Diffstat (limited to 'frontend/src/scenes/index.js')
-rw-r--r-- | frontend/src/scenes/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/scenes/index.js b/frontend/src/scenes/index.js index eb15e626..c708c9a9 100644 --- a/frontend/src/scenes/index.js +++ b/frontend/src/scenes/index.js @@ -2,13 +2,13 @@ import React from 'react'; import { Redirect, Route, Switch } from 'react-router-dom'; import { GameBrowser } from '../components/game-browser/GameBrowser'; import { Lobby } from './Lobby'; -import { SplashScreen } from './SplashScreen'; +import { Home } from '../components/home/Home'; export const Application = () => ( <Switch> - <Route path="/splash-screen" component={SplashScreen} /> <Route path="/games" component={GameBrowser} /> <Route path="/lobby" component={Lobby} /> - <Redirect from="*" to="/splash-screen" /> + <Route path="/" component={Home} /> + <Redirect to="/" /> </Switch> ); |