File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ import { StakingOverview } from "./Staking/StakingOverview";
3636import { StakingRewards } from "./Staking/StakingRewards" ;
3737import { StakingWithdrawModal } from "./Staking/StakingWithdrawModal" ;
3838import { Unstake } from "./Staking/Unstake" ;
39+ import { SwapModule } from "./Swap/SwapModule" ;
3940import { SwitchAccountPanel } from "./SwitchAccount/SwitchAccountPanel" ;
4041import { TransactionDetails } from "./Transactions/TransactionDetails" ;
4142import { TransactionHistory } from "./Transactions/TransactionHistory" ;
@@ -100,8 +101,7 @@ export const MainRoutes = (): JSX.Element => {
100101 </ Route >
101102
102103 { /* Swapping */ }
103- { /* TODO: Re-enable swaps after v2 release */ }
104- { /* <Route path={routes.swap} element={<SwapModule />} /> */ }
104+ < Route path = { routes . swap } element = { < SwapModule /> } />
105105
106106 { /* Transaction History */ }
107107 { ( features . namTransfersEnabled || features . ibcTransfersEnabled ) && (
Original file line number Diff line number Diff line change 11import { SidebarMenuItem } from "App/Common/SidebarMenuItem" ;
22import { ShieldIcon } from "App/Icons/ShieldIcon" ;
3+ import { SwapIcon } from "App/Icons/SwapIcon" ;
34import { routes } from "App/routes" ;
45import { applicationFeaturesAtom } from "atoms/settings" ;
56import { useAtomValue } from "jotai" ;
@@ -40,12 +41,11 @@ export const Navigation = (): JSX.Element => {
4041 icon : < LuArrowDownToLine /> ,
4142 url : routes . receive ,
4243 } ,
43- // TODO: Re-enable swaps after v2 release
44- // {
45- // label: "Swap",
46- // icon: <SwapIcon className="w-[18px]" />,
47- // url: routes.swap,
48- // },
44+ {
45+ label : "Swap" ,
46+ icon : < SwapIcon className = "w-[18px]" /> ,
47+ url : routes . swap ,
48+ } ,
4949 {
5050 label : "Staking" ,
5151 icon : < GoStack /> ,
You can’t perform that action at this time.
0 commit comments