Replies: 1 comment
-
This is work fine for my code // MintNft function |
Beta Was this translation helpful? Give feedback.
-
This is work fine for my code // MintNft function |
Beta Was this translation helpful? Give feedback.
-
There appears to be a small error on the
useContractWrite
page. In the example for the specific features likeargs
andoverrides
. As shown here:The
usecontractWrite
hook is assigned to the constcontractWrite
, but in the button theonClick
is callingwrite
. It should either becontractWrite.write()
or the write should be destructured like in the example at the top of the page. It's not a big deal, but could be confusing to beginners.Beta Was this translation helpful? Give feedback.
All reactions