mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Remove IndexRoute from main app
This commit is contained in:
parent
dc6d9160fe
commit
49f8178f38
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
import React from 'react';
|
||||
import { Route, IndexRoute } from 'react-router';
|
||||
import { Route } from 'react-router';
|
||||
|
||||
import getPrizeRoutes from './components/whitelabel/prize/prize_routes';
|
||||
import getWalletRoutes from './components/whitelabel/wallet/wallet_routes';
|
||||
@ -33,7 +33,7 @@ let baseUrl = AppConstants.baseUrl;
|
||||
const COMMON_ROUTES = (
|
||||
<Route path={baseUrl} component={App}>
|
||||
<Route path="register_piece" component={RegisterPiece} headerTitle="+ NEW WORK" />
|
||||
<Route path="collection" component={PieceList} headerTitle="COLLECTION" />
|
||||
<Route path="collection" component={PieceList} headerTitle="COLLECTION"/>
|
||||
<Route path="signup" component={SignupContainer} />
|
||||
<Route path="login" component={LoginContainer} />
|
||||
<Route path="logout" component={LogoutContainer} />
|
||||
|
Loading…
Reference in New Issue
Block a user