Skip to content

Commit

Permalink
fix: correct indentation in useSendTransaction example (#5133)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges authored Oct 23, 2024
1 parent 71aa257 commit 3c77c6b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ import { TransactionModal } from "../../ui/TransactionButton/TransactionModal.js
*
* const onClick = () => {
* const transaction = prepareContractCall({
* contract,
* method: "function transfer(address to, uint256 value)",
* params: [to, value],
* }),
* contract,
* method: "function transfer(address to, uint256 value)",
* params: [to, value],
* });
* sendTx(transaction);
* };
Expand Down

0 comments on commit 3c77c6b

Please sign in to comment.