Comment out route and replace with redirect

This commit is contained in:
fragosti
2019-07-01 14:06:28 -07:00
committed by Jacob Evans
parent dfb79e0998
commit 4ccd2d4955
2 changed files with 3 additions and 3 deletions

View File

@@ -122,7 +122,9 @@ render(
<Route exact={true} path={WebsitePaths.LaunchKit} component={NextLaunchKit as any} />
<Route exact={true} path={WebsitePaths.Ecosystem} component={NextEcosystem as any} />
<Route exact={true} path={`${WebsitePaths.Vote}/:zeip`} component={Governance as any} />
<Route exact={true} path={WebsitePaths.Vote} component={VoteIndex as any} />
{/* TODO: Uncomment the VoteIndex route */}
<Redirect from={WebsitePaths.Vote} to={`${WebsitePaths.Vote}/zeip-23`} />
{/* <Route exact={true} path={WebsitePaths.Vote} component={VoteIndex as any} /> */}
<Route exact={true} path={WebsitePaths.Extensions} component={Extensions as any} />
<Route
exact={true}

View File

@@ -22,7 +22,6 @@ export interface Proposal {
url: string;
voteStartDate: moment.Moment;
voteEndDate: moment.Moment;
outcome?: VoteOutcome;
benefit: ProposalProperty;
risks: ProposalProperty;
}
@@ -39,7 +38,6 @@ export const proposals: Proposals = {
url: 'https://blog.0xproject.com/zeip-23-trade-bundles-of-assets-fe69eb3ed960',
voteStartDate: moment(1551042800, 'X'),
voteEndDate: moment(1551142800, 'X'),
outcome: 'accepted',
benefit: {
title: 'Benefit',
summary: `Supporting trades for bundles of assets has been one of the most commonly requested features since the launch of 0x v2. The idea for this feature originated from discussions with gaming and NFT related projects. However, this upgrade also provides utility to relayers for prediction markets or baskets of tokens. The MultiAssetProxy will enable brand new ways of trading.`,