web-humas-fe/app/portal-ppid/layanan-informasi/layout.tsx

20 lines
415 B
TypeScript

'use client'
import { PPIDLayout } from '@/components/layout/PPIDLayout';
import { usePathname } from 'next/navigation';
import React, { Children } from 'react'
export default function LayananInformasiLayout({
children,
}: {
children: React.ReactNode
}) {
const pathname = usePathname();
console.log(pathname)
return (
<PPIDLayout>
{children}
</PPIDLayout>
)
}