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
@@ -378,7 +378,7 @@ description: Add authentication and user management to your Expo app with Clerk.
378
378
// for more info on error handling
379
379
console.error(JSON.stringify(err, null, 2))
380
380
}
381
-
}, [isLoaded, emailAddress, password])
381
+
}
382
382
383
383
return (
384
384
<View>
@@ -413,6 +413,8 @@ description: Add authentication and user management to your Expo app with Clerk.
413
413
414
414
## Add a sign-out button
415
415
416
+
At this point, your users can sign up or in, but they need a way to sign out.
417
+
416
418
In the `components/` folder, create a `SignOutButton.tsx` file with the following code. The [`useClerk()`](/docs/hooks/use-clerk) hook is used to access the `signOut()` function, which is called when the user clicks the "Sign out" button.
0 commit comments