Skip to content

Commit

Permalink
Update useAccount documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Nov 28, 2023
1 parent c1059e6 commit fbeb643
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-rice-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@starknet-react/core": minor
---

Return connector's chainId from useAccount hook
3 changes: 3 additions & 0 deletions website/content/hooks/account/useAccount.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export default function Component() {
* __connector?__`: Connector`
- The connected connector.
- Connector from starknet.js
* __chainId?__`: bigint`
- The connector's chain id.
- This chain id could be different from the current chain's id.
* __status__`: AccountStatus`
- The connection status.
- AccountStatus from starknet.js
Expand Down

0 comments on commit fbeb643

Please sign in to comment.