Commit 6edc7378 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

fix: show 6 sigFigs for tx history (#5135)

parent da6e1313
...@@ -57,7 +57,6 @@ const FailedText = ({ transactionState }: { transactionState: TransactionState } ...@@ -57,7 +57,6 @@ const FailedText = ({ transactionState }: { transactionState: TransactionState }
const FormattedCurrencyAmount = ({ const FormattedCurrencyAmount = ({
rawAmount, rawAmount,
currencyId, currencyId,
sigFigs = 2,
}: { }: {
rawAmount: string rawAmount: string
currencyId: string currencyId: string
...@@ -67,7 +66,7 @@ const FormattedCurrencyAmount = ({ ...@@ -67,7 +66,7 @@ const FormattedCurrencyAmount = ({
return currency ? ( return currency ? (
<HighlightText> <HighlightText>
{formatAmount(rawAmount, currency.decimals, sigFigs)} {currency.symbol} {formatAmount(rawAmount, currency.decimals, /* sigFigs= */ 6)} {currency.symbol}
</HighlightText> </HighlightText>
) : null ) : null
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment