Commit 8057cb9f authored by Noah Zinsmeister's avatar Noah Zinsmeister

fix rate toggle clearing add liquidity state

parent 1b798889
...@@ -457,8 +457,11 @@ export default function AddLiquidity({ ...@@ -457,8 +457,11 @@ export default function AddLiquidity({
handleRateToggle={() => { handleRateToggle={() => {
onLeftRangeInput('') onLeftRangeInput('')
onRightRangeInput('') onRightRangeInput('')
console.log('test') history.push(
history.push(`/add/${currencyIdB as string}/${currencyIdA as string}`) `/add/${currencyIdB as string}/${currencyIdA as string}${
feeAmount ? '/' + feeAmount : ''
}`
)
}} }}
/> />
) : null} ) : null}
...@@ -499,8 +502,9 @@ export default function AddLiquidity({ ...@@ -499,8 +502,9 @@ export default function AddLiquidity({
handleRateToggle={() => { handleRateToggle={() => {
onLeftRangeInput('') onLeftRangeInput('')
onRightRangeInput('') onRightRangeInput('')
console.log('test') history.push(
history.push(`/add/${currencyIdB as string}/${currencyIdA as string}`) `/add/${currencyIdB as string}/${currencyIdA as string}${feeAmount ? '/' + feeAmount : ''}`
)
}} }}
/> />
) : 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