Skip to content

Commit

Permalink
Use default 0 value for delayDays rather than undefined
Browse files Browse the repository at this point in the history
Co-authored-by: Shendy <[email protected]>
  • Loading branch information
Jinksi and shendy-a8c authored Dec 18, 2023
1 parent a638d55 commit eaa6dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/account-balances/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const AccountBalances: React.FC = () => {
currencyCode: overview.currency,
availableFunds: overview.available?.amount ?? 0,
pendingFunds: overview.pending?.amount ?? 0,
delayDays: account?.deposits_schedule.delay_days,
delayDays: account?.deposits_schedule.delay_days ?? 0,
instantBalance: overview.instant,
} )
);
Expand Down

0 comments on commit eaa6dce

Please sign in to comment.