Skip to content

Commit

Permalink
Fix: extreme card color
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Sep 20, 2023
1 parent 5badeca commit 8edd049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/colors.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const challengeColor = (question) => {
if (question?.difficulty === "HARD") {
if (question?.difficulty === "HARD" || question?.difficulty === "EXTREME") {
return "card-red";
} else if (question?.difficulty === "MEDIUM") {
return "card-blue";
Expand Down

0 comments on commit 8edd049

Please sign in to comment.