Feature/parallel booking availability (#3087)

This commit is contained in:
Omar López authored and GitHub committed 2022-06-19 16:02:00 +01:00
1 parent 7599f2384e
commit 2d28ca61a4
21 files changed
+242 -121

No files matched your search

+1 -1
View File
@@ -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;
}
+2 -2
View File
@@ -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;
}