fix: disable lend on auto repay on trade

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

View File

@ -187,7 +187,7 @@ export default function SwapForm(props: Props) {
removeCoin, removeCoin,
addCoin, addCoin,
debtCoin, debtCoin,
isAutoLendEnabled ? 'lend' : 'deposit', isAutoLendEnabled && !isAutoRepayChecked ? 'lend' : 'deposit',
isAutoRepayChecked, isAutoRepayChecked,
) )
}, 100), }, 100),