perf: move all booking pages into (booking-page-wrapper) route group (#19321)

* update useIsBookingPage

* move team pages into use-page-wrapper route group

* update imports

* fix type check

* update

* update

* remove isBookingPage configure from booking client components

* move all booking pages to use-page-wrapper route group

* add checkIfBookingPage util

* update layout

* update AppProviders

* improve comments

* update

* update pagesAndRewritePaths logic

* refactor
This commit is contained in:
Benny Joo authored and GitHub committed 2025-02-23 10:13:11 +01:00
1 parent 97348e2052
commit aba7c6df7f
22 files changed
+75 -46

No files matched your search

@@ -146,5 +146,5 @@ export function UserPage(props: PageProps) {
</>
);
}
UserPage.isBookingPage = true;
export default UserPage;
@@ -48,6 +48,4 @@ function Type({ slug, user, isEmbed, booking, isBrandingHidden, eventData, orgBa
);
}
Type.isBookingPage = true;
export default Type;