{currentUser && (
<>
{sseStatus !== "connected" && (
[0])}
className={cn(
"absolute -bottom-0.5 -end-0.5 size-2.5 rounded-full border-2 border-popover",
sseStatus === "connecting" ? "animate-pulse bg-muted-foreground" : "bg-destructive",
)}
/>
)}
{accountLabel}
>
)}
{/* Guests sign in from the sidebar footer, which is always in view. */}
{currentUser && (
)}
>
);
};
export default UserMenu;