diff --git a/packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx b/packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx index ac30a1c7e85..629bcd6eb4b 100644 --- a/packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx +++ b/packages/thirdweb/src/react/web/hooks/transaction/useSendTransaction.tsx @@ -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); * };