Skip to content

Commit 82e270a

Browse files
feat: reenable swaps (#2347)
1 parent 3171fc5 commit 82e270a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

apps/namadillo/src/App/AppRoutes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ import { StakingOverview } from "./Staking/StakingOverview";
3636
import { StakingRewards } from "./Staking/StakingRewards";
3737
import { StakingWithdrawModal } from "./Staking/StakingWithdrawModal";
3838
import { Unstake } from "./Staking/Unstake";
39+
import { SwapModule } from "./Swap/SwapModule";
3940
import { SwitchAccountPanel } from "./SwitchAccount/SwitchAccountPanel";
4041
import { TransactionDetails } from "./Transactions/TransactionDetails";
4142
import { 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) && (

apps/namadillo/src/App/Layout/Navigation.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { SidebarMenuItem } from "App/Common/SidebarMenuItem";
22
import { ShieldIcon } from "App/Icons/ShieldIcon";
3+
import { SwapIcon } from "App/Icons/SwapIcon";
34
import { routes } from "App/routes";
45
import { applicationFeaturesAtom } from "atoms/settings";
56
import { 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 />,

0 commit comments

Comments
 (0)