web-humas-fe/app/portal-ppid/e-ppid-polda/layout.tsx

16 lines
367 B
TypeScript

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