fix: pass eventId

Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
perf-slots-loading
Udit Takkar 2023-08-09 14:04:01 +05:30
parent d47fbb4662
commit d7a3fd4e30
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export default function Type({
isBrandingHidden,
isTeamEvent,
entity,
eventId,
}: PageProps) {
return (
<main className={getBookerWrapperClasses({ isEmbed: !!isEmbed })}>
@ -44,6 +45,7 @@ export default function Type({
hideBranding={isBrandingHidden}
isTeamEvent={isTeamEvent}
entity={entity}
eventId={eventId}
/>
</main>
);
@ -142,6 +144,7 @@ async function getUserPageProps(context: GetServerSidePropsContext) {
// Sending the team event from the server, because this template file
// is reused for both team and user events.
isTeamEvent,
eventId: eventData.id,
},
};
}