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

+1 -1
View File
@@ -287,7 +287,7 @@ const AppProviders = (props: PageWrapperProps) => {
RemainingProviders
);
if (isBookingPage) {
if (props.isBookingPage || isBookingPage) {
return Hydrated;
}