Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 0ba5014

Browse files
committed
Remove staking from menu and staking + register flow
1 parent c854133 commit 0ba5014

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

ts/components/staking/header/header.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ const navItems: NavItems[] = [
8181
text: 'Governance',
8282
url: WebsitePaths.Vote,
8383
},
84-
{
85-
id: 'staking',
86-
text: 'Staking',
87-
url: WebsitePaths.Staking,
88-
},
84+
// {
85+
// id: 'staking',
86+
// text: 'Staking',
87+
// url: WebsitePaths.Staking,
88+
// },
8989
{
9090
id: 'treasury',
9191
text: 'Treasury',

ts/pages/governance/register.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { RegisterRouterSteps, useRegisterWizard } from 'ts/hooks/use_register_wi
1919
import { useStake } from 'ts/hooks/use_stake';
2020
import { State } from 'ts/redux/reducer';
2121
import { colors } from 'ts/style/colors';
22-
import { AccountReady, Epoch, PoolWithStats, ProviderState, StakingPoolRecomendation, WebsitePaths } from 'ts/types';
22+
import { AccountReady, Epoch, PoolWithStats, ProviderState, StakingPoolRecomendation } from 'ts/types';
2323
import { DEFAULT_POOL_ID } from 'ts/utils/configs';
2424
import { constants } from 'ts/utils/constants';
2525
import { formatZrx } from 'ts/utils/format_number';
@@ -195,7 +195,7 @@ const FlowSelector: React.FC<{ onClose: () => void }> = ({ onClose }) => {
195195
</Button>
196196
</Column>
197197
</Section>
198-
<Section
198+
{/* <Section
199199
maxWidth="auto"
200200
wrapWidth="100%"
201201
flexBreakpoint="900px"
@@ -223,7 +223,7 @@ const FlowSelector: React.FC<{ onClose: () => void }> = ({ onClose }) => {
223223
Stake and Register your ZRX
224224
</Button>
225225
</Column>
226-
</Section>
226+
</Section> */}
227227
</Flex>
228228
</Section>
229229
);

0 commit comments

Comments
 (0)