From 4f4d0cf61d53f604428b447ebcdc099ca422e726 Mon Sep 17 00:00:00 2001 From: IhorCryptit Date: Tue, 2 Jul 2024 19:46:46 +0300 Subject: [PATCH 1/2] fix: fixed verification added wallets --- .../src/features/sidebar/SidebarRoot.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sentry-client-desktop/src/features/sidebar/SidebarRoot.tsx b/apps/sentry-client-desktop/src/features/sidebar/SidebarRoot.tsx index a03759815..b7e0c5e5d 100644 --- a/apps/sentry-client-desktop/src/features/sidebar/SidebarRoot.tsx +++ b/apps/sentry-client-desktop/src/features/sidebar/SidebarRoot.tsx @@ -62,8 +62,8 @@ export function Sidebar() { className={`flex items-center w-[237px] text-xl font-bold ${data?.addedWallets?.length && data.addedWallets.length > 0 ? `text-white cursor-pointer hover:global-clip-path hover:bg-darkRoom ${getActiveLink('/sentry-wallet')}` : "text-foggyLondon cursor-auto"} gap-2 py-[11px] pl-[17px]`} >
- {sentryRunning && data?.addedWallets?.length && data?.addedWallets?.length !== 0 && hasAssignedKeys && funded && } - {sentryRunning && data?.addedWallets?.length && data?.addedWallets?.length !== 0 && !hasAssignedKeys && !funded && } + {sentryRunning && !!data?.addedWallets?.length && data?.addedWallets?.length !== 0 && hasAssignedKeys && funded && } + {sentryRunning && !!data?.addedWallets?.length && data?.addedWallets?.length !== 0 && (!hasAssignedKeys || !funded) && } {(!sentryRunning || !data?.addedWallets?.length || data?.addedWallets?.length === 0) && }
SENTRY WALLET From 1b18a723a4c67226550834bc9c2d014a8b2b3009 Mon Sep 17 00:00:00 2001 From: IhorCryptit Date: Tue, 2 Jul 2024 19:49:57 +0300 Subject: [PATCH 2/2] fix: fixed start node button on click function --- .../src/features/home/dashboard/SentryNodeStatusCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sentry-client-desktop/src/features/home/dashboard/SentryNodeStatusCard.tsx b/apps/sentry-client-desktop/src/features/home/dashboard/SentryNodeStatusCard.tsx index 39a0ea730..56ddcbc64 100644 --- a/apps/sentry-client-desktop/src/features/home/dashboard/SentryNodeStatusCard.tsx +++ b/apps/sentry-client-desktop/src/features/home/dashboard/SentryNodeStatusCard.tsx @@ -105,7 +105,7 @@ export function SentryNodeStatusCard() { className="absolute left-0 right-0 bottom-7 w-full h-[40px] flex justify-center items-center gap-1 px-6 pt-4 pb-7"> startRuntime} + onClick={startRuntime!} btnText="Start Node" colorStyle="primary" size="md"