Skip to content

Commit

Permalink
fix: swap 'less than' to 'tilde' in formatNumbers
Browse files Browse the repository at this point in the history
  • Loading branch information
barabanovro committed Aug 4, 2023
1 parent 47db241 commit c59c695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/formatNumbers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function formatTransactionAmount(num: number | undefined | null, maxDigit
if (num === 0) return '0.00'
if (!num) return ''
if (num < 0.00001) {
return '< 0.00001'
return '~ 0.00001'
}
if (num >= 0.00001 && num < 1) {
return `${Number(num.toFixed(5)).toLocaleString(DEFAULT_LOCALE, {
Expand Down

1 comment on commit c59c695

@vercel
Copy link

@vercel vercel bot commented on c59c695 Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

wido-widget – ./

wido-widget.vercel.app
wido-widget-wido.vercel.app
wido-widget-git-main-wido.vercel.app

Please sign in to comment.