diff --git a/hooks/mutations/useTradeAsset.tsx b/hooks/mutations/useTradeAsset.tsx index b16b7320..7679997b 100644 --- a/hooks/mutations/useTradeAsset.tsx +++ b/hooks/mutations/useTradeAsset.tsx @@ -60,6 +60,15 @@ const useTradeAsset = ( await creditManagerClient?.updateCreditAccount( { accountId: selectedAccount, actions }, hardcodedFee, + undefined, + depositAmount > 0 + ? [ + { + denom: tokenIn, + amount: String(depositAmount), + }, + ] + : undefined, ), { onSettled: () => {