diff --git a/apps/web/pages/event-types/[type]/index.tsx b/apps/web/pages/event-types/[type]/index.tsx index 0f846d1f1b..5c0ecd5243 100644 --- a/apps/web/pages/event-types/[type]/index.tsx +++ b/apps/web/pages/event-types/[type]/index.tsx @@ -503,7 +503,7 @@ const EventTypePage = (props: EventTypeSetupProps) => { - {slugExistsChildrenDialogOpen.length && ( + {slugExistsChildrenDialogOpen.length ? ( { setSlugExistsChildrenDialogOpen([]); }} /> - )} + ) : null} ); };