"use client"; import { ArrowLeftRight, Plane, Workflow } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; export default function ModeSwitchDropdown() { const path = usePathname(); return (
{path.includes("pilot") && "Pilot"} {path.includes("dispatch") && "Leitstelle"}
); }