import { useLocation, useNavigate } from "react-router-dom"; import { SettingsIcon } from "lucide-react"; import { ProfileSelector } from "@/components/ProfileSelector.tsx"; import { IconButton } from "@/components/IconButton.tsx"; import { UpdateHeaderTrigger } from "@/modules/auto-update/UpdateHeaderTrigger.tsx"; import { cn } from "@/lib/cn"; export const Header = () => { const navigate = useNavigate(); const location = useLocation(); const isSettingsPage = location.pathname.startsWith("/settings"); return (