Skip to content

Commit

Permalink
update the disconnect hooks section
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomas committed Oct 21, 2024
1 parent 7435d1f commit 188a588
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions docs/appkit/next/core/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,41 @@ disconnect()
</PlatformTabItem>
<PlatformTabItem value="ethers5">

Disconnect hook will be implemented soon
To disconnect the session call:

```ts
import { useDisconnect } from '@reown/appkit/react'

const { disconnect } = useDisconnect()

disconnect()
```

</PlatformTabItem>
<PlatformTabItem value="ethers">

Disconnect hook will be implemented soon
To disconnect the session call:

```ts
import { useDisconnect } from '@reown/appkit/react'

const { disconnect } = useDisconnect()

disconnect()
```

</PlatformTabItem>
<PlatformTabItem value="solana">

Disconnect hook will be implemented soon
To disconnect the session call:

```ts
import { useDisconnect } from '@reown/appkit/react'

const { disconnect } = useDisconnect()

disconnect()
```

</PlatformTabItem>
</PlatformTabs>
Expand Down

0 comments on commit 188a588

Please sign in to comment.