diff --git a/src/components/sidebar/AccountSwitcher.tsx b/src/components/sidebar/AccountSwitcher.tsx index ba42e7b..22effdb 100644 --- a/src/components/sidebar/AccountSwitcher.tsx +++ b/src/components/sidebar/AccountSwitcher.tsx @@ -26,7 +26,7 @@ function Avatar({ account, size = "w-6 h-6", textSize = "text-[10px]" }: { accou } export function AccountSwitcher() { - const { accounts, pubkey, switchAccount, removeAccount, logout } = useUserStore(); + const { accounts, pubkey, loggedIn, switchAccount, removeAccount, logout } = useUserStore(); const { openProfile } = useUIStore(); const [open, setOpen] = useState(false); const [showAddLogin, setShowAddLogin] = useState(false); @@ -137,13 +137,21 @@ export function AccountSwitcher() { {/* Active account row */}
+ {!loggedIn && ( + + )}
openProfile(pubkey)} > - {displayName(current)} + {displayName(current)}