Skip to content

Commit

Permalink
Merge pull request #238 from CryptITAustria/fix-verification-added-wa…
Browse files Browse the repository at this point in the history
…llets

Fix verification added wallets
  • Loading branch information
CryptITAustria authored Jul 2, 2024
2 parents 027fbf6 + 1b18a72 commit fe751c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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">
<PrimaryButton
className={`w-[643px] text-[20px] uppercase font-bold mt-2 !global-cta-clip-path text-melanzaneBlack`}
onClick={() => startRuntime}
onClick={startRuntime!}
btnText="Start Node"
colorStyle="primary"
size="md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]`}
>
<div className="w-auto h-auto flex justify-center items-center">
{sentryRunning && data?.addedWallets?.length && data?.addedWallets?.length !== 0 && hasAssignedKeys && funded && <GreenPulse size='lg' />}
{sentryRunning && data?.addedWallets?.length && data?.addedWallets?.length !== 0 && !hasAssignedKeys && !funded && <YellowPulse size='lg' />}
{sentryRunning && !!data?.addedWallets?.length && data?.addedWallets?.length !== 0 && hasAssignedKeys && funded && <GreenPulse size='lg' />}
{sentryRunning && !!data?.addedWallets?.length && data?.addedWallets?.length !== 0 && (!hasAssignedKeys || !funded) && <YellowPulse size='lg' />}
{(!sentryRunning || !data?.addedWallets?.length || data?.addedWallets?.length === 0) && <GreyPulse size='lg' />}
</div>
SENTRY WALLET
Expand Down

0 comments on commit fe751c5

Please sign in to comment.