Feature/parallel booking availability (#3087)
This commit is contained in:
1 parent
7599f2384e
commit
2d28ca61a4
21 files changed
+242
-121
No files matched your search
@@ -37,7 +37,7 @@ export async function ssgInit<TParams extends { locale?: string }>(opts: GetStat
|
||||
});
|
||||
|
||||
// always preload i18n
|
||||
await ssg.fetchQuery("viewer.i18n");
|
||||
await ssg.fetchQuery("viewer.public.i18n");
|
||||
|
||||
return ssg;
|
||||
}
|
||||
@@ -21,8 +21,8 @@ export async function ssrInit(context: GetServerSidePropsContext) {
|
||||
ctx,
|
||||
});
|
||||
|
||||
// always preload "viewer.i18n"
|
||||
await ssr.fetchQuery("viewer.i18n");
|
||||
// always preload "viewer.public.i18n"
|
||||
await ssr.fetchQuery("viewer.public.i18n");
|
||||
|
||||
return ssr;
|
||||
}
|
||||
Reference in new issue
Block a user