tidy: refactor

This commit is contained in:
Linkie Link 2023-12-04 16:19:21 +01:00
parent 0dd3c9afa7
commit 93ff4bfd45
No known key found for this signature in database
GPG Key ID: 5318B0F2564D38EA

View File

@ -223,7 +223,7 @@ export default function SwapForm(props: Props) {
BNCoin.fromDenomAndBigNumber(buyAsset.denom, BN_ZERO),
BNCoin.fromDenomAndBigNumber(sellAsset.denom, BN_ZERO),
BNCoin.fromDenomAndBigNumber(sellAsset.denom, BN_ZERO),
isAutoLendEnabled ? 'lend' : 'deposit',
isAutoLendEnabled && !isAutoRepayChecked ? 'lend' : 'deposit',
isAutoRepayChecked,
)
}, [