You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/custom-flows/sign-out.mdx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,7 @@ The `signOut()` function signs a user out of all sessions in a [multi-session ap
16
16
<Tab>
17
17
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.
18
18
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.
@@ -78,6 +76,8 @@ The `signOut()` function signs a user out of all sessions in a [multi-session ap
78
76
</Tab>
79
77
80
78
<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.
0 commit comments