diff --git a/components/admin/utils/admin-header.tsx b/components/admin/utils/admin-header.tsx index 0358c49..082c3cc 100644 --- a/components/admin/utils/admin-header.tsx +++ b/components/admin/utils/admin-header.tsx @@ -2,9 +2,15 @@ import { Building2, Settings } from "lucide-react"; import Link from "next/link"; +import { usePathname } from "next/navigation"; import { Button } from "@/components/ui/button"; export function AdminHeader() { + const pathname = usePathname(); + + const isOverviewActive = pathname === "/admin"; + const isManageActive = pathname === "/admin/manage"; + return (