fix: title-for-team-events (#9828)

This commit is contained in:
Ujwal Kumar authored and GitHub committed 2023-06-28 10:47:28 -04:00
1 parent a9f74b68f5
commit 6a975194bb
2 files changed
+4 -2

No files matched your search

@@ -7,13 +7,14 @@ interface BookerSeoProps {
eventSlug: string;
rescheduleUid: string | undefined;
hideBranding?: boolean;
isTeamEvent?: boolean;
}
export const BookerSeo = (props: BookerSeoProps) => {
const { eventSlug, username, rescheduleUid, hideBranding } = props;
const { eventSlug, username, rescheduleUid, hideBranding, isTeamEvent } = props;
const { t } = useLocale();
const { data: event } = trpc.viewer.public.event.useQuery(
{ username, eventSlug },
{ username, eventSlug, isTeamEvent },
{ refetchOnWindowFocus: false }
);