Skip to content

Conversation

@GuiBibeau
Copy link
Collaborator

Summary

  • Updates useAccount hook to default fetch and watch options to true, matching useBalance behavior
  • This ensures account data is fetched and watched automatically without requiring explicit options
  • Adds test to verify the new default behavior

Test plan

  • Added test for default fetch/watch behavior
  • Updated existing test to explicitly disable fetch/watch when testing skip behavior
  • All existing tests pass

Closes #112

Update useAccount to default `fetch` and `watch` options to `true`,
matching useBalance behavior. This ensures account data is retrieved
automatically without requiring explicit options.

Closes #112
@GuiBibeau GuiBibeau merged commit 25beb60 into main Jan 5, 2026
7 checks passed
@github-actions github-actions bot mentioned this pull request Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants