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
|
||||
if (!isLoggedIn) {
|
||||
return null;
|
||||
}
|
||||
// if (!isLoggedIn) {
|
||||
// return null;
|
||||
// }
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user