diff options
-rw-r--r-- | frontend/src/routes.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/frontend/src/routes.js b/frontend/src/routes.js deleted file mode 100644 index 60efed8d..00000000 --- a/frontend/src/routes.js +++ /dev/null @@ -1,32 +0,0 @@ -// @flow -import React from 'react'; - -import Application from './scenes'; -import Error404 from './components/errors/Error404'; - -import { Route, Switch } from 'react-router'; - -const Routes = () => ( - <Switch> - <Route path="/" component={Application} /> - <Route path="*" component={Error404} /> - </Switch> -); - -export default Routes; -// export const routes = [ -// { -// path: '/', -// component: HomeLayout, -// indexRoute: { component: HomePage }, -// }, -// { -// path: '/', -// component: LobbyLayout, -// childRoutes: [{ path: '/games', component: GameBrowser }, { path: '/lobby/*', component: Lobby }], -// }, -// { -// path: '*', -// component: Error404, -// }, -// ]; |