From c026bedb99b1f3d08da7480ad525137cd48d33fd Mon Sep 17 00:00:00 2001 From: Anirban Singha <143536290+SinghaAnirban005@users.noreply.github.com> Date: Wed, 11 Mar 2026 02:47:05 +0530 Subject: [PATCH] refactor: simplify redundant recurring event condition in EventTypeDescription (#28355) Co-authored-by: Romit <85230081+romitg2@users.noreply.github.com> --- .../web/modules/event-types/components/EventTypeDescription.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/modules/event-types/components/EventTypeDescription.tsx b/apps/web/modules/event-types/components/EventTypeDescription.tsx index 94ada7535e..29dfa02e81 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 = ({ )} {/* TODO: Maybe add a tool tip to this? */} - {eventType.requiresConfirmation || (recurringEvent?.count && recurringEvent.count) ? ( + {eventType.requiresConfirmation || (recurringEvent?.count) ? (
  • {[eventType.requiresConfirmation, recurringEvent?.count].filter(Boolean).length}