Closed ChangoMan closed 2 months ago
Expose the reset function from useSendTransaction and call it after the transaction isConfirmed. This will clear out the transactionData and reset the useWaitForTransaction hook
reset
useSendTransaction
isConfirmed
transactionData
useWaitForTransaction
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Description
Expose the
reset
function fromuseSendTransaction
and call it after the transactionisConfirmed
. This will clear out thetransactionData
and reset theuseWaitForTransaction
hook