// app/tabs/layout.tsx "use client"; import Link from "next/link"; import { ReactNode } from "react"; import { usePathname } from "next/navigation"; import clsx from "clsx"; const tabs = [ { name: "Home", href: "/tabs/home" }, { name: "Profile", href: "/tabs/profile" }, { name: "Leaderboard", href: "/tabs/leaderboard" }, ]; export default function TabsLayout({ children }: { children: ReactNode }) { const pathname = usePathname(); return (
{children}
); }