Skip to content

Commit 713d939

Browse files
committed
Update CriteriaDisplay.jsx
Change display text for null selection to Not Selected
1 parent 1a083cb commit 713d939

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Frontend/src/components/matching/CriteriaDisplay.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ const CriteriaDisplay = ({ difficulty, language }) => {
3030
<Card.Title>Selected Criteria</Card.Title>
3131
<Card.Text>
3232
<span>
33-
Difficulty: <Badge bg={getBadgeVariant(difficulty ? difficulty : "Null" )}>{capitalizeFirstLetter(difficulty ? difficulty : "Null")}</Badge>{' '}
34-
Language: <strong>{capitalizeFirstLetter(language ? language : "???")}</strong>
33+
Difficulty: <Badge bg={getBadgeVariant(difficulty ? difficulty : "Not Selected" )}>{capitalizeFirstLetter(difficulty ? difficulty : "Not Selected")}</Badge>
34+
<br></br>
35+
Language: <strong>{capitalizeFirstLetter(language ? language : "Not Selected")}</strong>
3536
</span>
3637
</Card.Text>
3738
</Card.Body>

0 commit comments

Comments
 (0)