web-humas-fe/app/portal-ppid/satuan-kerja/[satker-name]/layanan-informasi/layout.tsx

16 lines
367 B
TypeScript
Raw Normal View History

2024-11-05 06:15:40 +00:00
"use client";
import { SatkerLayout } from "@/components/layout/satker-layout";
import { usePathname } from "next/navigation";
import React from "react";
2024-03-25 04:10:43 +00:00
export default function LayananInformasiLayout({
2024-11-05 06:15:40 +00:00
children,
2024-03-25 04:10:43 +00:00
}: {
2024-11-05 06:15:40 +00:00
children: React.ReactNode;
2024-03-25 04:10:43 +00:00
}) {
2024-11-05 06:15:40 +00:00
const pathname = usePathname();
console.log(pathname);
2024-03-25 04:10:43 +00:00
2024-11-05 06:15:40 +00:00
return <SatkerLayout>{children}</SatkerLayout>;
2024-03-25 04:10:43 +00:00
}