Skip to content

Commit 5799282

Browse files
adderpositivetomasklim
authored andcommitted
fix(trade): all balance for tokens
1 parent 6a194ef commit 5799282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/suite/src/hooks/wallet/useCoinmarketRecomposeAndSign.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const useCoinmarketRecomposeAndSign = () => {
6767
token: ethereumDataHex ? null : composed.token?.contract || null, // if we pass ethereumDataHex, do not use the token, the details are in the ethereumDataHex
6868
},
6969
],
70-
setMaxOutputId,
70+
setMaxOutputId: !composed.token?.contract ? setMaxOutputId : undefined,
7171
selectedFee,
7272
feePerUnit: composed.feePerByte,
7373
feeLimit: composed.feeLimit || '',

0 commit comments

Comments
 (0)