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

16 lines
359 B
TypeScript

"use client";
import { SatkerLayout } from "@/components/layout/satker-layout";
import { usePathname } from "next/navigation";
import React from "react";
export default function RegulasiLayout({
children,
}: {
children: React.ReactNode;
}) {
const pathname = usePathname();
console.log(pathname);
return <SatkerLayout>{children}</SatkerLayout>;
}