update sig figs (#3270)

This commit is contained in:
Ian Lapham 2022-02-09 15:44:15 -08:00 committed by GitHub
parent c9c59698de
commit fad55b8dbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,10 +56,10 @@ export function Trade({ trade }: { trade: InterfaceTrade<Currency, Currency, Tra
const ratio = `1 ${a.currency.symbol} = ${priceString} ${b.currency.symbol}`
const usdc = !flip
? fiatValueInput
? ` ($${fiatValueInput.toSignificant(2)})`
? ` ($${fiatValueInput.toSignificant(6)})`
: null
: fiatValueOutput
? ` ($${fiatValueOutput.toSignificant(2)})`
? ` ($${fiatValueOutput.toSignificant(6)})`
: null
return (