Skip to content

Scheduling infrastructure for absolutely everyone.

refactor: simplify redundant recurring event condition in EventTypeDescription (#28355)

Anirban Singhac026bedb99b1
diff --git a/apps/web/modules/event-types/components/EventTypeDescription.tsx b/apps/web/modules/event-types/components/EventTypeDescription.tsx
index 94ada7535ec..29dfa02e816 100644
--- a/apps/web/modules/event-types/components/EventTypeDescription.tsx
+++ b/apps/web/modules/event-types/components/EventTypeDescription.tsx
@@ -122,7 +122,7 @@ export const EventTypeDescription = ({
</li>
)}
{/* TODO: Maybe add a tool tip to this? */}
- {eventType.requiresConfirmation || (recurringEvent?.count && recurringEvent.count) ? (
+ {eventType.requiresConfirmation || (recurringEvent?.count) ? (
<li className="block xl:hidden">
<Badge variant="gray" startIcon="plus">
<p>{[eventType.requiresConfirmation, recurringEvent?.count].filter(Boolean).length}</p>