diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx index ba7c9a11b3..cee8ee06a6 100644 --- a/apps/web/pages/event-types/index.tsx +++ b/apps/web/pages/event-types/index.tsx @@ -127,7 +127,7 @@ const MobileTeamsTab: FC = (props) => { readOnly={events[0].metadata.readOnly} /> ) : ( - + )} ); @@ -363,7 +363,11 @@ export const EventTypeList = ({ group, groupIndex, readOnly, types }: EventTypeL }, []); if (!types.length) { - return group.teamId ? : ; + return group.teamId ? ( + + ) : ( + + ); } const firstItem = types[0]; @@ -764,7 +768,7 @@ const EventTypeListHeading = ({ ); }; -const CreateFirstEventTypeView = () => { +const CreateFirstEventTypeView = ({ slug }: { slug: string }) => { const { t } = useLocale(); return ( @@ -774,7 +778,7 @@ const CreateFirstEventTypeView = () => { description={t("new_event_type_description")} className="mb-16" buttonRaw={ - } @@ -915,7 +919,7 @@ const Main = ({ ) : group.teamId ? ( ) : ( - + )} )) @@ -931,7 +935,7 @@ const Main = ({ /> ) )} - {data.eventTypeGroups.length === 0 && } + {data.eventTypeGroups.length === 0 && } {searchParams?.get("dialog") === "duplicate" && }