22 lines
429 B
TypeScript
22 lines
429 B
TypeScript
"use client";
|
|
|
|
import { useMenuStore } from "@/shared/lib";
|
|
import { PageLayout } from "@/shared/ui/page-layout";
|
|
|
|
export default function PostLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
const bbsInfo = useMenuStore((state) => state.bbsInfo);
|
|
|
|
return (
|
|
<PageLayout
|
|
title={bbsInfo?.bbsNm ?? ""}
|
|
menuPaths={["서비스관리", "게시판관리"]}
|
|
>
|
|
{children}
|
|
</PageLayout>
|
|
);
|
|
}
|