Skip to content

Commit

Permalink
fix: remove extra line and duplicated section
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiir committed Jan 10, 2025
1 parent 1550df6 commit 23229fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion docs/appkit/next/core/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export default Component(){


```typescript

type EmbeddedWalletInfo {
user: {
username: string
Expand Down
20 changes: 0 additions & 20 deletions docs/appkit/react/core/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export default Component(){


```typescript

type EmbeddedWalletInfo {
user: {
username: string
Expand All @@ -79,25 +78,6 @@ type UseAppKitAccountReturnType = {
}
```
Hook for accessing account data and connection status.
```ts
import { useAppKitAccount } from "@reown/appkit/react";

export default Component(){
const { address, isConnected, caipAddress, status, embeddedWalletInfo } = useAppKitAccount()
}
```

### Returns

- `allAccounts`: A list of connected accounts
- `address`: The current account address
- `caipAddress`: The current account address in CAIP format
- `isConnected`: Boolean that indicates if the user is connected
- `status`: The current connection status
- `embeddedWalletInfo`: The current embedded wallet information

## useAppKitNetwork
Hook for accessing network data and methods.
Expand Down

0 comments on commit 23229fe

Please sign in to comment.