Skip to content

Commit

Permalink
Comment out Redeem page
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbartnik committed Dec 7, 2023
1 parent ce87e67 commit f110c75
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
6 changes: 2 additions & 4 deletions apps/sentry-client-desktop/src/features/router/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {Sidebar} from "../sidebar";
import {GetSentryNode} from "../home/GetSentryNode.js";
import {Keys} from "../keys/Keys.js";
import {SentryWallet} from "../home/SentryWallet.js";
import {Redeem} from "@/features/redeem/Redeem";
import {DrawerManager} from "../drawer/DrawerManager";
import {ModalManager} from "@/features/modal/ModalManager";
import {QueryClient, QueryClientProvider} from "react-query";
Expand Down Expand Up @@ -43,14 +42,14 @@ export function AppRoutes() {
<AccruingDataManager/>
<BlockpassHandler/>
<Sidebar/>
<Toaster position="top-right" />
<Toaster position="top-right"/>

<div className="flex-grow">
<Routes>
<Route path="/" element={<GetSentryNode/>}/>
<Route path="/keys" element={<Keys/>}/>
<Route path="/sentry-wallet" element={<SentryWallet/>}/>
<Route path="/redeem" element={<Redeem/>}/>
{/*<Route path="/redeem" element={<Redeem/>}/>*/}
</Routes>
</div>

Expand All @@ -60,6 +59,5 @@ export function AppRoutes() {
</QueryClientProvider>
</Router>
</JotaiProvider>

);
}
13 changes: 6 additions & 7 deletions apps/sentry-client-desktop/src/features/sidebar/SidebarRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {RiKey2Line, RiTwitterXFill} from "react-icons/ri";
import {SiGitbook} from "react-icons/si";
import {GreenPulse, YellowPulse} from "@/features/keys/StatusPulse.js";
import {useOperatorRuntime} from "@/hooks/useOperatorRuntime";
import {IoGiftOutline} from "react-icons/io5";
import {accruingStateAtom} from "@/hooks/useAccruingInfo";
import {useAtomValue} from "jotai";

Expand Down Expand Up @@ -54,12 +53,12 @@ export function Sidebar() {

Sentry Wallet
</Link>
<Link
to="/redeem"
className="flex items-center mb-1 text-[15px] text-gray-600 hover:text-gray-400 cursor-pointer gap-2"
>
<IoGiftOutline size={15}/> Redeem
</Link>
{/*<Link*/}
{/* to="/redeem"*/}
{/* className="flex items-center mb-1 text-[15px] text-gray-600 hover:text-gray-400 cursor-pointer gap-2"*/}
{/*>*/}
{/* <IoGiftOutline size={15}/> Redeem*/}
{/*</Link>*/}
</div>

<div>
Expand Down

0 comments on commit f110c75

Please sign in to comment.