You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #235 on March 07, 2022 21:18.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there an existing issue for this?
Package Version
0.2.17
Current Behavior
Hooks that return tuples do not have their indexes named
Expected Behavior
A hook should return
[result: Data, disconnect: () => void]
so that it's clear what the function does rather than having to consult the docs.I was writing the code below getting started with
wagmi
and wanted to quickly see whatuseAccount
would do in the second item in the tupleSteps To Reproduce
No response
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions