fix rate toggle clearing add liquidity state
This commit is contained in:
parent
1b798889af
commit
8057cb9fbe
@ -457,8 +457,11 @@ export default function AddLiquidity({
|
||||
handleRateToggle={() => {
|
||||
onLeftRangeInput('')
|
||||
onRightRangeInput('')
|
||||
console.log('test')
|
||||
history.push(`/add/${currencyIdB as string}/${currencyIdA as string}`)
|
||||
history.push(
|
||||
`/add/${currencyIdB as string}/${currencyIdA as string}${
|
||||
feeAmount ? '/' + feeAmount : ''
|
||||
}`
|
||||
)
|
||||
}}
|
||||
/>
|
||||
) : null}
|
||||
@ -499,8 +502,9 @@ export default function AddLiquidity({
|
||||
handleRateToggle={() => {
|
||||
onLeftRangeInput('')
|
||||
onRightRangeInput('')
|
||||
console.log('test')
|
||||
history.push(`/add/${currencyIdB as string}/${currencyIdA as string}`)
|
||||
history.push(
|
||||
`/add/${currencyIdB as string}/${currencyIdA as string}${feeAmount ? '/' + feeAmount : ''}`
|
||||
)
|
||||
}}
|
||||
/>
|
||||
) : null}
|
||||
|
Loading…
Reference in New Issue
Block a user