'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' export default function AdminTabLinkClient({ href, label, exact, }: { href: string label: string exact?: boolean }) { const pathname = usePathname() const isActive = exact ? pathname === href : pathname.startsWith(href) return ( {label} ) }