StoryNote logo

how to use tanstackquery in wagmi hooks,i want my hook to execute only when the user gives the input value but i cant place the readcontract hook inside the function. in documentation, they just mentioned to set enabled is false to stop to it from autorunning ,but no syntax in the docs:[

by /u/Loose_Island_7369 in /r/ethereum

Upvotes: 1

Favorite this post:
Mark as read:
Your rating:
Add this post to a custom list

StoryNote©

Reddit is a registered trademark of Reddit, Inc. Use of this trademark on our website does not imply any affiliation with or endorsement by Reddit, Inc.