From 23229febab6a34826f5921aeeff4bf2ae1012557 Mon Sep 17 00:00:00 2001 From: tomiir Date: Fri, 10 Jan 2025 13:52:35 +0100 Subject: [PATCH] fix: remove extra line and duplicated section --- docs/appkit/next/core/hooks.mdx | 1 - docs/appkit/react/core/hooks.mdx | 20 -------------------- 2 files changed, 21 deletions(-) diff --git a/docs/appkit/next/core/hooks.mdx b/docs/appkit/next/core/hooks.mdx index 3baf5482..731c8edb 100644 --- a/docs/appkit/next/core/hooks.mdx +++ b/docs/appkit/next/core/hooks.mdx @@ -56,7 +56,6 @@ export default Component(){ ```typescript - type EmbeddedWalletInfo { user: { username: string diff --git a/docs/appkit/react/core/hooks.mdx b/docs/appkit/react/core/hooks.mdx index 94a446f8..00486317 100644 --- a/docs/appkit/react/core/hooks.mdx +++ b/docs/appkit/react/core/hooks.mdx @@ -57,7 +57,6 @@ export default Component(){ ```typescript - type EmbeddedWalletInfo { user: { username: string @@ -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.