Update challenge management component to improve pending challenges display: Simplify text for clarity by modifying the message format for pending challenges in the ChallengeManagement component.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled

This commit is contained in:
Julien Froidefond
2025-12-15 21:21:25 +01:00
parent b790ee21f2
commit 83446759fe

View File

@@ -213,7 +213,8 @@ export default function ChallengeManagement() {
{pendingChallenges.length > 0 && ( {pendingChallenges.length > 0 && (
<span className="ml-2"> <span className="ml-2">
{pendingChallenges.length} défi {pendingChallenges.length} défi
{pendingChallenges.length > 1 ? "s" : ""} en attente d'acceptation {pendingChallenges.length > 1 ? "s" : ""} en attente
d&apos;acceptation
</span> </span>
)} )}
</div> </div>