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

Co-authored-by: Romit <[email protected]>
This commit is contained in:
Anirban SinghaandRomit authored and GitHub committed 2026-03-10 21:17:05 +00:00
1 parent f86767c125
commit c026bedb99
1 file changed
+1 -1
@@ -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>