update string in token amount formatting (#1539)
This commit is contained in:
parent
397a20b9ec
commit
dd33205bf6
@ -11,7 +11,7 @@ export function formatTokenAmount(amount: CurrencyAmount<Currency> | undefined,
|
||||
}
|
||||
|
||||
if (amount.divide(amount.decimalScale).lessThan(new Fraction(1, 100000))) {
|
||||
return '<0.000001'
|
||||
return '<0.00001'
|
||||
}
|
||||
|
||||
return amount.toSignificant(Math.min(sigFigs, amount.currency.decimals))
|
||||
|
Loading…
Reference in New Issue
Block a user