Skip to content

Commit 0fdc982

Browse files
committed
lint
1 parent c27e63d commit 0fdc982

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/thirdweb/src/react/web/ui/Bridge/TransactionPayment.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,11 @@ export function TransactionPayment({
327327
onClick={() => {
328328
if (transactionDataQuery.data?.tokenInfo) {
329329
onContinue(
330-
(Math.max(0,
330+
Math.max(
331+
0,
331332
Number(transactionDataQuery.data.totalCost) -
332-
Number(transactionDataQuery.data.userBalance)
333-
)).toString(),
333+
Number(transactionDataQuery.data.userBalance),
334+
).toString(),
334335
transactionDataQuery.data.tokenInfo,
335336
getAddress(activeAccount.address),
336337
);

0 commit comments

Comments
 (0)