Commit 5cb37dc0 authored by Ian Lapham's avatar Ian Lapham Committed by GitHub

hot fix for v2 token select bug (#2471)

parent b58e200e
...@@ -379,7 +379,7 @@ export default function AddLiquidity({ ...@@ -379,7 +379,7 @@ export default function AddLiquidity({
}} }}
onCurrencySelect={handleCurrencyASelect} onCurrencySelect={handleCurrencyASelect}
showMaxButton={!atMaxAmounts[Field.CURRENCY_A]} showMaxButton={!atMaxAmounts[Field.CURRENCY_A]}
currency={currencies[Field.CURRENCY_A]} currency={currencies[Field.CURRENCY_A] ?? null}
id="add-liquidity-input-tokena" id="add-liquidity-input-tokena"
showCommonBases showCommonBases
/> />
...@@ -394,7 +394,7 @@ export default function AddLiquidity({ ...@@ -394,7 +394,7 @@ export default function AddLiquidity({
onFieldBInput(maxAmounts[Field.CURRENCY_B]?.toExact() ?? '') onFieldBInput(maxAmounts[Field.CURRENCY_B]?.toExact() ?? '')
}} }}
showMaxButton={!atMaxAmounts[Field.CURRENCY_B]} showMaxButton={!atMaxAmounts[Field.CURRENCY_B]}
currency={currencies[Field.CURRENCY_B]} currency={currencies[Field.CURRENCY_B] ?? null}
id="add-liquidity-input-tokenb" id="add-liquidity-input-tokenb"
showCommonBases showCommonBases
/> />
......
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