From 90e9045829f40c4eacbe60f64d197c65d50a780c Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 26 Apr 2026 20:36:10 -0500 Subject: [PATCH] Shrink AccountSwitcher trigger to match starpoint Starpoint achieves a more compact trigger via className descendant selectors on LoginArea (h-10, p-1 pr-2.5, gap-2, w-8 h-8 avatar, no name label). Apply those values as the component's default instead of requiring every call site to override them. Drops the md+ name label \u2014 the display name still shows inside the dropdown. Also removes the 'stable file' warning header since this is now an actively-maintained component. --- src/components/auth/AccountSwitcher.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/components/auth/AccountSwitcher.tsx b/src/components/auth/AccountSwitcher.tsx index 1693a11..06aa143 100644 --- a/src/components/auth/AccountSwitcher.tsx +++ b/src/components/auth/AccountSwitcher.tsx @@ -1,6 +1,3 @@ -// NOTE: This file is stable and usually should not be modified. -// It is important that all functionality in this file is preserved, and should only be modified if explicitly requested. - import { ChevronDown, LogOut, UserIcon, UserPlus } from 'lucide-react'; import { DropdownMenu, @@ -29,14 +26,11 @@ export function AccountSwitcher({ onAddAccountClick }: AccountSwitcherProps) { return ( -