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" 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