diff --git a/apps/wallet-dashboard/lib/utils/vesting/vesting.ts b/apps/wallet-dashboard/lib/utils/vesting/vesting.ts index 629e3b115f1..da2a5bbe80e 100644 --- a/apps/wallet-dashboard/lib/utils/vesting/vesting.ts +++ b/apps/wallet-dashboard/lib/utils/vesting/vesting.ts @@ -175,7 +175,8 @@ export function getVestingOverview( ); const totalAvailableStakingAmount = timelockedObjects.reduce( (acc, current) => - current.expirationTimestampMs > currentEpochTimestamp && current.locked.value > MIN_STAKING_THRESHOLD + current.expirationTimestampMs > currentEpochTimestamp && + current.locked.value > MIN_STAKING_THRESHOLD ? acc + current.locked.value : acc, 0,