Skip to content

Conversation

@yasha-meursault
Copy link
Contributor

The documentation for useAccount() is outdated. It still demonstrates accessing the address property directly from the hook’s return value, but the latest version of the library no longer exposes address at the top level. Instead, useAccount() now returns an object containing account and accounts, without a direct address field.

As a result, following the current example in the docs produces a TypeScript error:

Property 'address' does not exist on type 'UseAccountReturnType'.ts(2339)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant