Skip to content

Commit 3477ac8

Browse files
authored
Merge pull request #1101 from dacadeorg/fix/show-challenge-number-on-large-community-card
fix: show number of challenges per community also in the /communities…
2 parents 7ab44ca + 234028d commit 3477ac8

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)