Skip to content

Commit

Permalink
[Issue-2581] Update display content
Browse files Browse the repository at this point in the history
  • Loading branch information
bluezdot committed Feb 21, 2024
1 parent 55a3f07 commit d85fdd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function getUnstakingPeriod (t: TFunction, unstakingPeriod?: number) {
}

export function getWaitingTime (waitingTime: number, status: UnstakingStatus, t: TFunction) {
if (status === UnstakingStatus.CLAIMABLE) {
if (status === UnstakingStatus.CLAIMABLE || waitingTime === 0) {
return t('Available for withdrawal');
} else {
const waitingTimeInMs = waitingTime * 60 * 60 * 1000;
Expand Down

0 comments on commit d85fdd7

Please sign in to comment.