Commit fad55b8d authored by Ian Lapham's avatar Ian Lapham Committed by GitHub

update sig figs (#3270)

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