Logout
This commit is contained in:
parent
adcde37071
commit
83048cf660
@ -56,12 +56,10 @@ export default function AccountMenu() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log("[isLoggedin]", isLoggedIn);
|
|
||||||
|
|
||||||
// Only show the logout button if the user is logged in
|
// Only show the logout button if the user is logged in
|
||||||
if (!isLoggedIn) {
|
// if (!isLoggedIn) {
|
||||||
return null;
|
// return null;
|
||||||
}
|
// }
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user