Skip to content

Commit 3c77c6b

Browse files
fix: correct indentation in useSendTransaction example (#5133)
1 parent 71aa257 commit 3c77c6b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ import { TransactionModal } from "../../ui/TransactionButton/TransactionModal.js
3636
*
3737
* const onClick = () => {
3838
* const transaction = prepareContractCall({
39-
* contract,
40-
* method: "function transfer(address to, uint256 value)",
41-
* params: [to, value],
42-
* }),
39+
* contract,
40+
* method: "function transfer(address to, uint256 value)",
41+
* params: [to, value],
4342
* });
4443
* sendTx(transaction);
4544
* };

0 commit comments

Comments
 (0)