From 4a7cd94c3b764e13cb7a3fe0a3fe844de19da6ec Mon Sep 17 00:00:00 2001 From: vhande <78013271+vhande@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:22:32 +0100 Subject: [PATCH] Add dehydratedState --- src/pages/organizers/[organizerId]/preview/index.page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/organizers/[organizerId]/preview/index.page.tsx b/src/pages/organizers/[organizerId]/preview/index.page.tsx index c48d7e19b..5236874c2 100644 --- a/src/pages/organizers/[organizerId]/preview/index.page.tsx +++ b/src/pages/organizers/[organizerId]/preview/index.page.tsx @@ -257,7 +257,8 @@ export const getServerSideProps = getApplicationServerSideProps( console.error(error); return { props: { - dehydratedState: {}, + dehydratedState: dehydrate(queryClient), + cookies, }, }; }