refactor: simplify redundant recurring event condition in EventTypeDescription (#28355)
Co-authored-by: Romit <[email protected]>
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user