2024-11-05 06:15:40 +00:00
|
|
|
"use client";
|
|
|
|
|
import { PPIDLayout } from "@/components/layout/ppid-layout";
|
|
|
|
|
import { usePathname } from "next/navigation";
|
|
|
|
|
import React, { Children } from "react";
|
2024-02-23 12:34:32 +00:00
|
|
|
|
2024-03-02 15:25:48 +00:00
|
|
|
export default function InfoPublicLayout({
|
2024-11-05 06:15:40 +00:00
|
|
|
children,
|
2024-02-23 12:34:32 +00:00
|
|
|
}: {
|
2024-11-05 06:15:40 +00:00
|
|
|
children: React.ReactNode;
|
2024-02-23 12:34:32 +00:00
|
|
|
}) {
|
2024-11-05 06:15:40 +00:00
|
|
|
const pathname = usePathname();
|
|
|
|
|
console.log(pathname);
|
2024-02-23 12:34:32 +00:00
|
|
|
|
2024-11-05 06:15:40 +00:00
|
|
|
return <PPIDLayout>{children}</PPIDLayout>;
|
2024-02-23 12:34:32 +00:00
|
|
|
}
|