diff --git a/explorer/src/components/account/StakeAccountCards.tsx b/explorer/src/components/account/StakeAccountCards.tsx index 369fdf49d2..f776b70b16 100644 --- a/explorer/src/components/account/StakeAccountCards.tsx +++ b/explorer/src/components/account/StakeAccountCards.tsx @@ -97,6 +97,14 @@ function OverviewCard({ function DelegationCard({ stakeAccount }: { stakeAccount: StakeAccount }) { const { stake } = stakeAccount; + const displayStatus = () => { + let status = stakeAccount.displayState(); + if (status !== "Delegated") { + status = "Not delegated"; + } + return status; + }; + return (
@@ -107,7 +115,7 @@ function DelegationCard({ stakeAccount }: { stakeAccount: StakeAccount }) { Status - {stakeAccount.displayState()} + {displayStatus()} {stake && (