🐛 Redirect to root on logout (#1667)

This commit is contained in:
Luke Vella 2025-04-14 17:33:04 +01:00 committed by GitHub
parent 30c111e987
commit aa721d9369
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,9 @@ export const SignOutButton = () => {
variant="ghost"
size="sm"
onClick={() => {
signOut();
signOut({
redirectTo: "/",
});
}}
>
<Icon>