Skip to content

Commit c026bed

Browse files
refactor: simplify redundant recurring event condition in EventTypeDescription (calcom#28355)
Co-authored-by: Romit <85230081+romitg2@users.noreply.github.com>
1 parent f86767c commit c026bed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/modules/event-types/components/EventTypeDescription.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const EventTypeDescription = ({
122122
</li>
123123
)}
124124
{/* TODO: Maybe add a tool tip to this? */}
125-
{eventType.requiresConfirmation || (recurringEvent?.count && recurringEvent.count) ? (
125+
{eventType.requiresConfirmation || (recurringEvent?.count) ? (
126126
<li className="block xl:hidden">
127127
<Badge variant="gray" startIcon="plus">
128128
<p>{[eventType.requiresConfirmation, recurringEvent?.count].filter(Boolean).length}</p>

0 commit comments

Comments
 (0)