diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx index 6eb23dd747..0c45dfceb4 100644 --- a/apps/web/pages/event-types/index.tsx +++ b/apps/web/pages/event-types/index.tsx @@ -27,6 +27,7 @@ import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery"; import { HttpError } from "@calcom/lib/http-error"; import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML"; import { SchedulingType } from "@calcom/prisma/enums"; +import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import type { RouterOutputs } from "@calcom/trpc/react"; import { trpc, TRPCClientError } from "@calcom/trpc/react"; import { @@ -82,7 +83,11 @@ type EventTypeGroupProfile = EventTypeGroups[number]["profile"]; type PaginateEventTypeViewer = RouterOutputs["viewer"]["eventTypes"]["paginate"]; interface EventTypeListHeadingProps { - profile: EventTypeGroupProfile; + profile: { + name: string | null; + slug?: string | null; + username?: string | null; + }; membershipCount: number; teamId?: number | null; orgSlug?: string; @@ -374,11 +379,14 @@ export const EventTypeList = ({ data }: EventTypeListProps): JSX.Element => {