1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00

add coa_verify route to wallet_routes to avoid crash

This commit is contained in:
Tim Daubenschütz 2015-09-25 11:50:55 +02:00
parent a30c80e6fb
commit 16e7a54b27

View File

@ -4,6 +4,7 @@ import React from 'react';
import Router from 'react-router'; import Router from 'react-router';
// general components // general components
import CoaVerifyContainer from '../../../components/coa_verify_container';
import LoginContainer from '../../../components/login_container'; import LoginContainer from '../../../components/login_container';
import LogoutContainer from '../../../components/logout_container'; import LogoutContainer from '../../../components/logout_container';
import SignupContainer from '../../../components/signup_container'; import SignupContainer from '../../../components/signup_container';
@ -45,6 +46,7 @@ let ROUTES = {
<Route name="pieces" path="collection" handler={CylandPieceList} headerTitle="COLLECTION" /> <Route name="pieces" path="collection" handler={CylandPieceList} headerTitle="COLLECTION" />
<Route name="piece" path="pieces/:pieceId" handler={CylandPieceContainer} /> <Route name="piece" path="pieces/:pieceId" handler={CylandPieceContainer} />
<Route name="edition" path="editions/:editionId" handler={EditionContainer} /> <Route name="edition" path="editions/:editionId" handler={EditionContainer} />
<Route name="coa_verify" path="verify" handler={CoaVerifyContainer} />
<Route name="settings" path="settings" handler={SettingsContainer} /> <Route name="settings" path="settings" handler={SettingsContainer} />
</Route> </Route>
), ),
@ -60,6 +62,7 @@ let ROUTES = {
<Route name="pieces" path="collection" handler={PieceList} headerTitle="COLLECTION" /> <Route name="pieces" path="collection" handler={PieceList} headerTitle="COLLECTION" />
<Route name="piece" path="pieces/:pieceId" handler={PieceContainer} /> <Route name="piece" path="pieces/:pieceId" handler={PieceContainer} />
<Route name="edition" path="editions/:editionId" handler={EditionContainer} /> <Route name="edition" path="editions/:editionId" handler={EditionContainer} />
<Route name="coa_verify" path="verify" handler={CoaVerifyContainer} />
<Route name="settings" path="settings" handler={SettingsContainer} /> <Route name="settings" path="settings" handler={SettingsContainer} />
</Route> </Route>
), ),
@ -76,6 +79,7 @@ let ROUTES = {
<Route name="pieces" path="collection" handler={IkonotvPieceList} headerTitle="COLLECTION"/> <Route name="pieces" path="collection" handler={IkonotvPieceList} headerTitle="COLLECTION"/>
<Route name="piece" path="pieces/:pieceId" handler={IkonotvPieceContainer} /> <Route name="piece" path="pieces/:pieceId" handler={IkonotvPieceContainer} />
<Route name="edition" path="editions/:editionId" handler={EditionContainer} /> <Route name="edition" path="editions/:editionId" handler={EditionContainer} />
<Route name="coa_verify" path="verify" handler={CoaVerifyContainer} />
<Route name="settings" path="settings" handler={SettingsContainer} /> <Route name="settings" path="settings" handler={SettingsContainer} />
</Route> </Route>
) )