Skip to content

Commit

Permalink
fix(widgets): remove extra } in Trade caption (#3262)
Browse files Browse the repository at this point in the history
  • Loading branch information
JFrankfurt authored Feb 9, 2022
1 parent 37f273a commit b5a72cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Swap/Toolbar/Caption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function Trade({ trade }: { trade: InterfaceTrade<Currency, Currency, Tra
const [a, b] = flip ? [outputAmount, inputAmount] : [inputAmount, outputAmount]
const priceString = (!flip ? executionPrice : executionPrice?.invert())?.toSignificant(6)

const ratio = `1 ${a.currency.symbol} = ${priceString}} ${b.currency.symbol}`
const ratio = `1 ${a.currency.symbol} = ${priceString} ${b.currency.symbol}`
const usdc = !flip
? fiatValueInput
? ` ($${fiatValueInput.toSignificant(2)})`
Expand Down

0 comments on commit b5a72cd

Please sign in to comment.