"use client"; import { usePathname, useRouter } from "next/navigation"; import { BaseLayout } from "@common/components/ui"; export default function WithBaseLayout({ children, }: { children: React.ReactNode; }) { const router = useRouter(); const pathname = usePathname(); const handleMenuClick = (item: any) => { if (item.urlPath) { router.push(item.urlPath); } }; return ( {children} ); }