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
|
|
|
}
|