import { useNavigate } from "react-router-dom"; import { ChevronRight, LogOut, User, Info, Shield } from "lucide-react"; import { Avatar, AvatarFallback } from "@/components/ui/avatar"; import { Separator } from "@/components/ui/separator"; import { WindowControls } from "@/components/window-controls"; import { Button } from "@/components/ui/button"; import { Muted } from "@/components/ui/typography"; import { ScrollArea } from "@/components/ui/scroll-area"; import { useAuthStore } from "@/stores/auth-store"; import { ArrowLeft } from "lucide-react"; interface SettingsRowProps { icon: React.ReactNode; label: string; detail?: string; onClick?: () => void; destructive?: boolean; } function SettingsRow({ icon, label, detail, onClick, destructive, }: SettingsRowProps) { return ( ); } function SettingsGroup({ title, children, }: { title: string; children: React.ReactNode; }) { return (
{title}
{user?.email_prefix}