Skip to content

Conversation

@GuiBibeau
Copy link
Collaborator

@GuiBibeau GuiBibeau commented Jan 5, 2026

Summary

This PR bundles 4 documentation fixes for the @solana/react-hooks README:

  • Fix useSolTransfer parameter name: Changed lamports to amount in the example
  • Fix useSplToken bigint usage: Added amountInBaseUnits: true when passing bigint amounts
  • Document useWalletConnection return values: Added currentConnector to destructuring example with usage
  • Document useAccount hook: Added new section with usage example

Test plan

  • Verify README examples render correctly on GitHub
  • Verify the code snippets are syntactically valid

Fixes #113
Fixes #115
Fixes #108
Fixes #110

- Fix useSolTransfer: lamports → amount parameter (#113)
- Fix useSplToken: add amountInBaseUnits for bigint (#115)
- Add currentConnector to useWalletConnection example (#108)
- Document useAccount hook with example (#110)
@GuiBibeau GuiBibeau merged commit d2ca1ca 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