Skip to content

Commit dd8f823

Browse files
authored
(custom-flows/sign-out) update (#2028)
1 parent 6e725c6 commit dd8f823

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/custom-flows/sign-out.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ The `signOut()` function signs a user out of all sessions in a [multi-session ap
1616
<Tab>
1717
The [`useClerk()`](/docs/references/react/use-clerk) hook is used to access the `signOut()` function, which is called when the user clicks the sign-out button.
1818

19-
The Next.js [`useRouter()`](https://nextjs.org/docs/api-reference/next/router#userouter) hook is used to redirect the user to the home page after they sign out.
20-
21-
This example is written for Next.js App Router but can be adapted for any React meta framework, such as Remix.
19+
This example is written for Next.js App Router but can be adapted for any React-based framework.
2220

2321
```jsx {{ filename: 'app/components/SignOutButton.tsx' }}
2422
'use client'
@@ -78,6 +76,8 @@ The `signOut()` function signs a user out of all sessions in a [multi-session ap
7876
</Tab>
7977

8078
<Tab>
79+
The [`useClerk()`](/docs/references/react/use-clerk) hook is used to access the `signOut()` function, which is called when the user clicks the sign-out button.
80+
8181
```jsx {{ filename: 'SignOutButton.tsx', collapsible: true }}
8282
import { useClerk } from '@clerk/clerk-expo'
8383
import * as Linking from 'expo-linking'

0 commit comments

Comments
 (0)