"use client"; import { cn } from "@repo/shared-components"; import { ArrowLeftRight, Plane, Radar, Workflow } from "lucide-react"; import { useSession } from "next-auth/react"; import Link from "next/link"; import { usePathname } from "next/navigation"; export default function ModeSwitchDropdown({ className }: { className?: string }) { const path = usePathname(); const session = useSession(); return (
{path.includes("pilot") && "Pilot"} {path.includes("dispatch") && "Leitstelle"}
); }