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

Commit

Permalink
Remove staking from menu and staking + register flow
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisSimon committed Jul 8, 2022
1 parent c854133 commit 0ba5014
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions ts/components/staking/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
6 changes: 3 additions & 3 deletions ts/pages/governance/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -195,7 +195,7 @@ const FlowSelector: React.FC<{ onClose: () => void }> = ({ onClose }) => {
</Button>
</Column>
</Section>
<Section
{/* <Section
maxWidth="auto"
wrapWidth="100%"
flexBreakpoint="900px"
Expand Down Expand Up @@ -223,7 +223,7 @@ const FlowSelector: React.FC<{ onClose: () => void }> = ({ onClose }) => {
Stake and Register your ZRX
</Button>
</Column>
</Section>
</Section> */}
</Flex>
</Section>
);
Expand Down

1 comment on commit 0ba5014

@vercel
Copy link

@vercel vercel bot commented on 0ba5014 Jul 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.