feat: no user -> no team

This commit is contained in:
2025-03-26 16:31:27 +01:00
parent 03ed843679
commit ee13d06ab1

View File

@@ -148,11 +148,10 @@ export default function Avatar() {
return (
<>
<div className="avatars">
<div className="avatars" style={{ display: user ? "block" : "none" }}>
<div
className="avatar"
onContextMenu={handleMenuClick}
style={{ display: user ? "block" : "none" }}
onClick={(event) => {
if (contextMenu.open && event.target === avatarRef.current) {
handleMenuClose();