Skip to content

Commit 234028d

Browse files
fix: show number of challenges per community also in the /communities page
1 parent b208ad2 commit 234028d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/cards/community/List.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function CommunityListCard({ community }: CommunityListCardProps)
5959
{t("communities.list-card.earn")} <span className="font-bold">{reward?.token}</span>
6060
</div>
6161
<div className="font-light leading-tight">
62-
{t(community.courses !== 1 ? "communities.card.courses" : "communities.card.course", { count: community.courses })}
62+
{t(community.challenges > 1 ? "communities.card.challenges" : "communities.card.challenge", { count: community.challenges })}
6363
</div>
6464
</div>
6565
</div>

0 commit comments

Comments
 (0)