perf: run ssrInit() at root layout (#19460)
* wip * remove ssrInit unneeded * refactor * revert unneeded changes * update booking-page-wrapper layout
This commit is contained in:
1 parent
307b2946a2
commit
6ea879f265
7 files changed
+25
-38
No files matched your search
@@ -1,6 +1,5 @@
|
||||
"use client";
|
||||
|
||||
import { type DehydratedState } from "@tanstack/react-query";
|
||||
import type { SSRConfig } from "next-i18next";
|
||||
// import I18nLanguageHandler from "@components/I18nLanguageHandler";
|
||||
import { usePathname } from "next/navigation";
|
||||
@@ -17,7 +16,6 @@ export type PageWrapperProps = Readonly<{
|
||||
requiresLicense: boolean;
|
||||
nonce: string | undefined;
|
||||
themeBasis: string | null;
|
||||
dehydratedState?: DehydratedState;
|
||||
isBookingPage?: boolean;
|
||||
i18n?: SSRConfig;
|
||||
}>;
|
||||
|
||||
Reference in new issue
Block a user