diff --git a/apps/web/modules/event-types/views/event-types-listing-view.tsx b/apps/web/modules/event-types/views/event-types-listing-view.tsx index d5b42ba4ec..8fc5acd87c 100644 --- a/apps/web/modules/event-types/views/event-types-listing-view.tsx +++ b/apps/web/modules/event-types/views/event-types-listing-view.tsx @@ -457,9 +457,9 @@ export const InfiniteEventTypeList = ({ if (isPending) return ; return group.teamId ? ( - + ) : !group.profile.eventTypesLockedByOrg ? ( - + ) : ( <> ); @@ -818,13 +818,13 @@ export const InfiniteEventTypeList = ({ ); }; -const CreateFirstEventTypeView = ({ slug }: { slug: string }) => { +const CreateFirstEventTypeView = ({ slug, searchTerm }: { slug: string; searchTerm?: string }) => { const { t } = useLocale(); return ( { +const EmptyEventTypeList = ({ + group, + searchTerm, +}: { + group: EventTypeGroup | InfiniteEventTypeGroup; + searchTerm?: string; +}) => { const { t } = useLocale(); return ( <>