From a43437b1d6a0db4996cf6b7d73d067adfdbb3317 Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Mon, 14 Apr 2025 12:54:25 -0400 Subject: [PATCH] fix (#20693) --- .../web/app/(booking-page-wrapper)/layout.tsx | 8 ++-- apps/web/app/(use-page-wrapper)/layout.tsx | 30 ++++++++------- apps/web/components/PageWrapperAppDir.tsx | 37 ++++++++++--------- apps/web/lib/app-providers-app-dir.tsx | 30 +++++++-------- 4 files changed, 55 insertions(+), 50 deletions(-) diff --git a/apps/web/app/(booking-page-wrapper)/layout.tsx b/apps/web/app/(booking-page-wrapper)/layout.tsx index 9355b24469..b2a76da168 100644 --- a/apps/web/app/(booking-page-wrapper)/layout.tsx +++ b/apps/web/app/(booking-page-wrapper)/layout.tsx @@ -7,8 +7,10 @@ export default async function BookingPageWrapperLayout({ children }: { children: const nonce = h.get("x-nonce") ?? undefined; return ( - - {children} - + <> + + {children} + + ); } diff --git a/apps/web/app/(use-page-wrapper)/layout.tsx b/apps/web/app/(use-page-wrapper)/layout.tsx index 761b529d3a..a7be94bd6a 100644 --- a/apps/web/app/(use-page-wrapper)/layout.tsx +++ b/apps/web/app/(use-page-wrapper)/layout.tsx @@ -21,19 +21,21 @@ export default async function PageWrapperLayout({ children }: { children: React. ].filter((script): script is { id: string; script: string } => !!script.script); return ( - - {children} - {scripts.map((script) => ( -