mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-02 19:56:05 +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"
|
variant="ghost"
|
||||||
size="sm"
|
size="sm"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
signOut();
|
signOut({
|
||||||
|
redirectTo: "/",
|
||||||
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon>
|
<Icon>
|
||||||
|
|
Loading…
Add table
Reference in a new issue