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
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
This commit is contained in:
@@ -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'acceptation
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user