From a5c760d8ff23bc29b29a4b6599d592aae2e2e56d Mon Sep 17 00:00:00 2001 From: Yana Date: Tue, 10 Jun 2025 17:58:39 +0300 Subject: [PATCH] Remove Buy button and route to page --- nym-wallet/src/components/Nav.tsx | 6 ------ nym-wallet/src/routes/app.tsx | 12 +----------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/nym-wallet/src/components/Nav.tsx b/nym-wallet/src/components/Nav.tsx index 3036f91682..b0067a6412 100644 --- a/nym-wallet/src/components/Nav.tsx +++ b/nym-wallet/src/components/Nav.tsx @@ -61,12 +61,6 @@ export const Nav = () => { mode: 'admin', onClick: () => navigate('/admin'), }, - { - label: 'Buy', - route: '/buy', - Icon: Toll, - onClick: () => navigate('/buy'), - }, ]); return ( diff --git a/nym-wallet/src/routes/app.tsx b/nym-wallet/src/routes/app.tsx index 896a5edb6e..2777ef33aa 100644 --- a/nym-wallet/src/routes/app.tsx +++ b/nym-wallet/src/routes/app.tsx @@ -4,16 +4,7 @@ import { ApplicationLayout } from '../layouts'; import { Terminal } from '../pages/terminal'; import { Send } from '../components/Send'; import { Receive } from '../components/Receive'; -import { - Balance, - InternalDocs, - DelegationPage, - Admin, - BondingPage, - NodeSettingsPage, - BuyPage, - Settings, -} from '../pages'; +import { Balance, InternalDocs, DelegationPage, Admin, BondingPage, NodeSettingsPage, Settings } from '../pages'; export const AppRoutes = () => ( @@ -29,7 +20,6 @@ export const AppRoutes = () => ( } /> } /> } /> - } /> );