mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 09:46:39 +02:00
🐛 Redirect to root on logout (#1667)
This commit is contained in:
parent
30c111e987
commit
aa721d9369
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ export const SignOutButton = () => {
|
|||
variant="ghost"
|
||||
size="sm"
|
||||
onClick={() => {
|
||||
signOut();
|
||||
signOut({
|
||||
redirectTo: "/",
|
||||
});
|
||||
}}
|
||||
>
|
||||
<Icon>
|
||||
|
|
Loading…
Add table
Reference in a new issue