Skip to content

Commit

Permalink
Remove outdated navbar links (#2356)
Browse files Browse the repository at this point in the history
Co-authored-by: Atmosfearful <[email protected]>
  • Loading branch information
0xAurelius and Atmosfearful authored May 24, 2024
1 parent 3a29766 commit 7c3692f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions app/components/NavMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ import InfoOutlined from "@mui/icons-material/InfoOutlined";
import LibraryAddOutlined from "@mui/icons-material/LibraryAddOutlined";
import MenuBookOutlined from "@mui/icons-material/MenuBookOutlined";
import ParkOutlined from "@mui/icons-material/ParkOutlined";
import Payment from "@mui/icons-material/Payment";
import RedeemOutlined from "@mui/icons-material/RedeemOutlined";
import SpaOutlined from "@mui/icons-material/SpaOutlined";
import { FC, ReactElement, ReactNode, useEffect, useState } from "react";
import { useSelector } from "react-redux";
import { useLocation } from "react-router";
Expand Down Expand Up @@ -153,14 +151,6 @@ export const NavMenu: FC<Props> = (props) => {
<Address domains={domains} address={props.address} />
<div className="hr" />
</div>
<MenuButton
isActive={pathname === "/buy"}
href={"/buy"}
icon={<Payment />}
onClick={handleHide}
>
<Trans id="menu.buy_klima">Buy KLIMA</Trans>
</MenuButton>
<MenuButton
isActive={pathname === "/stake"}
href="/stake"
Expand All @@ -169,14 +159,6 @@ export const NavMenu: FC<Props> = (props) => {
>
<Trans id="menu.stake_klima">Stake KLIMA</Trans>
</MenuButton>
<MenuButton
isActive={pathname.includes("/bond")}
href="/bonds"
icon={<SpaOutlined />}
onClick={handleHide}
>
<Trans id="menu.bond_carbon">Bond Carbon</Trans>
</MenuButton>
<MenuButton
isActive={pathname === "/wrap"}
href="/wrap"
Expand Down

0 comments on commit 7c3692f

Please sign in to comment.