Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Added routes for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh391 committed Sep 2, 2020
1 parent 25a3712 commit 44fa924
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion webapp/src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ import BlockPage from '../containers/BlockchainPage/components/BlockPage';
import MinerPage from '../containers/BlockchainPage/components/MinerPage';
import ConsolePage from '../containers/ConsolePage';
import MasternodesPage from '../containers/MasternodesPage'; // NOTE: Do not remove, for future purpose
import CreateMasternodesPage from '../containers/MasternodesPage/components/CreateMasterNode'; // NOTE: Do not remove, for future purpose
import CreateMasternodesPage from '../containers/MasternodesPage/components/CreateMasterNode';
import MasterNodeDetailPageProps from '../containers/MasternodesPage/components/MasterNodeDetailPage';

// import ExchangePage from '../containers/ExchangePage'; // NOTE: Do not remove, for future purpose
import HelpPage from '../containers/HelpPage';
import Error404Page from '../containers/Errors';
import SettingsPage from '../containers/SettingsPage';
import TokensPage from '../containers/TokensPage';
import CreateToken from '../containers/TokensPage/components/CreateToken';
import TokenInfo from '../containers/TokensPage/components/TokenInfo';
import {
BLOCKCHAIN_BASE_PATH,
HELP_PATH,
Expand All @@ -34,6 +37,9 @@ import {
CREATE_MASTER_NODES_PATH,
MASTER_NODES_DETAIL_PATH,
WALLET_CREATE_RECEIVE_REQUEST,
TOKENS_PATH,
CREATE_TOKENS_PATH,
TOKENS_INFO_PATH,
} from '../constants';

const routes = (location) => (
Expand Down Expand Up @@ -66,6 +72,9 @@ const routes = (location) => (
/>
{/* <Route exact path={EXCHANGE_PATH} component={ExchangePage} /> */}
<Route exact path={BLOCKCHAIN_BASE_PATH} component={BlockchainPage} />
<Route exact path={TOKENS_PATH} component={TokensPage} />
<Route exact path={CREATE_TOKENS_PATH} component={CreateToken} />
<Route exact path={TOKENS_INFO_PATH} component={TokenInfo} />
<Route exact path={BLOCKCHAIN_BLOCK_PARAM_PATH} component={BlockPage} />
<Route exact path={BLOCKCHAIN_MINER_PARAM_PATH} component={MinerPage} />
<Route exact path={HELP_PATH} component={HelpPage} />
Expand Down

0 comments on commit 44fa924

Please sign in to comment.