tidy: refactor
This commit is contained in:
parent
0dd3c9afa7
commit
93ff4bfd45
@ -223,7 +223,7 @@ export default function SwapForm(props: Props) {
|
|||||||
BNCoin.fromDenomAndBigNumber(buyAsset.denom, BN_ZERO),
|
BNCoin.fromDenomAndBigNumber(buyAsset.denom, BN_ZERO),
|
||||||
BNCoin.fromDenomAndBigNumber(sellAsset.denom, BN_ZERO),
|
BNCoin.fromDenomAndBigNumber(sellAsset.denom, BN_ZERO),
|
||||||
BNCoin.fromDenomAndBigNumber(sellAsset.denom, BN_ZERO),
|
BNCoin.fromDenomAndBigNumber(sellAsset.denom, BN_ZERO),
|
||||||
isAutoLendEnabled ? 'lend' : 'deposit',
|
isAutoLendEnabled && !isAutoRepayChecked ? 'lend' : 'deposit',
|
||||||
isAutoRepayChecked,
|
isAutoRepayChecked,
|
||||||
)
|
)
|
||||||
}, [
|
}, [
|
||||||
|
Loading…
Reference in New Issue
Block a user