"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { use } from "react"; const tabs = [ { label: "Details", href: "" }, { label: "Pipeline", href: "/pipeline" }, { label: "Assets", href: "/assets" }, { label: "Claude Chat", href: "/chat" }, ]; export default function CampaignDetailLayout({ children, params, }: { children: React.ReactNode; params: Promise<{ id: string }>; }) { const { id } = use(params); const pathname = usePathname(); const basePath = `/campaigns/${id}`; return (
{children}
); }