From 0ba5014b7b0ef278003d7e2dcb799589613703b2 Mon Sep 17 00:00:00 2001 From: Dennis Simon Date: Mon, 20 Jun 2022 17:21:11 +0200 Subject: [PATCH] Remove staking from menu and staking + register flow --- ts/components/staking/header/header.tsx | 10 +++++----- ts/pages/governance/register.tsx | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ts/components/staking/header/header.tsx b/ts/components/staking/header/header.tsx index 77c99b95d..1518d60a5 100644 --- a/ts/components/staking/header/header.tsx +++ b/ts/components/staking/header/header.tsx @@ -81,11 +81,11 @@ const navItems: NavItems[] = [ text: 'Governance', url: WebsitePaths.Vote, }, - { - id: 'staking', - text: 'Staking', - url: WebsitePaths.Staking, - }, + // { + // id: 'staking', + // text: 'Staking', + // url: WebsitePaths.Staking, + // }, { id: 'treasury', text: 'Treasury', diff --git a/ts/pages/governance/register.tsx b/ts/pages/governance/register.tsx index b99ae8af5..943fc2ddd 100644 --- a/ts/pages/governance/register.tsx +++ b/ts/pages/governance/register.tsx @@ -19,7 +19,7 @@ import { RegisterRouterSteps, useRegisterWizard } from 'ts/hooks/use_register_wi import { useStake } from 'ts/hooks/use_stake'; import { State } from 'ts/redux/reducer'; import { colors } from 'ts/style/colors'; -import { AccountReady, Epoch, PoolWithStats, ProviderState, StakingPoolRecomendation, WebsitePaths } from 'ts/types'; +import { AccountReady, Epoch, PoolWithStats, ProviderState, StakingPoolRecomendation } from 'ts/types'; import { DEFAULT_POOL_ID } from 'ts/utils/configs'; import { constants } from 'ts/utils/constants'; import { formatZrx } from 'ts/utils/format_number'; @@ -195,7 +195,7 @@ const FlowSelector: React.FC<{ onClose: () => void }> = ({ onClose }) => { -
void }> = ({ onClose }) => { Stake and Register your ZRX -
+ */} );