Skip to content

Commit be81fb7

Browse files
committed
fix: fixed sonar cube failing condition
1 parent 8c79063 commit be81fb7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/EventPopularity/EventPopularity.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default function EventDashboard() {
142142
<h3>{card.title}</h3>
143143
<p className={styles.epStatSubtitle}>{card.subtitle}</p>
144144

145-
{card.participants && <div>👥 +{card.participants}</div>}
145+
{!!card.participants && <div> +{card.participants}</div>}
146146

147147
<p
148148
className={

0 commit comments

Comments
 (0)