Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Commit 3802ee3

Browse files
baomee-shibaomee-shi
andauthored
Replace empty "staking" tab with a link to the vote/governance page (#14)
* replace empty stake tab with vote/governance tab * lint-fix Co-authored-by: baomee-shi <git@baomeeshi.com>
1 parent 8205563 commit 3802ee3

File tree

1 file changed

+5
-6
lines changed
  • src/components/TopBar/components

1 file changed

+5
-6
lines changed

src/components/TopBar/components/Nav.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ const Nav: React.FC = () => {
2525
>
2626
Menu
2727
</StyledLink>
28-
<StyledLink
29-
exact
30-
activeClassName="active"
31-
to={{ pathname: '/staking', search: '?ref=' + refer }}
28+
<StyledAbsoluteLink
29+
href="https://snapshot.page/#/baovotes.eth"
30+
target="_blank"
3231
>
33-
Staking
34-
</StyledLink>
32+
Vote
33+
</StyledAbsoluteLink>
3534
<StyledAbsoluteLink href="https://docs.bao.finance" target="_blank">
3635
About
3736
</StyledAbsoluteLink>

0 commit comments

Comments
 (0)