"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; const items = [ { href: "/tasks", label: "Board" }, { href: "/tasks/dispatch", label: "Dispatch" }, { href: "/tasks/failures", label: "Failure Queue" }, ]; export function TasksSubnav() { const pathname = usePathname(); return (