Files
cal.diy/apps/web/app/(booking-page-wrapper)/layout.tsx
T
2025-04-14 16:54:25 +00:00

17 lines
430 B
TypeScript

import { headers } from "next/headers";
import PageWrapper from "@components/PageWrapperAppDir";
export default async function BookingPageWrapperLayout({ children }: { children: React.ReactNode }) {
const h = await headers();
const nonce = h.get("x-nonce") ?? undefined;
return (
<>
<PageWrapper isBookingPage={true} requiresLicense={false} nonce={nonce}>
{children}
</PageWrapper>
</>
);
}