web-humas-fe/app/portal-ppid/polda/[polda-name]/regulasi/layout.tsx

20 lines
402 B
TypeScript
Raw Normal View History

2024-03-15 07:46:40 +00:00
'use client'
import { SatkerLayout } from '@/components/layout/SatKerLayout';
import { usePathname } from 'next/navigation';
import React from 'react';
2024-03-25 08:16:35 +00:00
export default function RegulasiLayout({
2024-03-15 07:46:40 +00:00
children,
}: {
children: React.ReactNode
}) {
2024-03-25 08:16:35 +00:00
const pathname = usePathname();
console.log(pathname)
2024-03-15 07:46:40 +00:00
return (
<SatkerLayout>
{children}
</SatkerLayout>
)
}