Skip to content

Commit

Permalink
update countdown format
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon committed Jan 13, 2025
1 parent d891047 commit 598c5a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/app/components/Staking/Unstake.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ const Unstake = () => {
}),
{format: ['days', 'hours', 'minutes']},
)
.replace(/minute(s)?/g, 'm')
.replace(/hour(s)?/g, 'h')
.replace(/day(s)?/g, 'd')
.replace(/ minute(s)?/g, 'm')
.replace(/ hour(s)?/g, 'h')
.replace(/ day(s)?/g, 'd')
if (countdown === '') {
countdown = '1 m'
countdown = '1m'
}
}
return {
Expand Down

0 comments on commit 598c5a8

Please sign in to comment.