Skip to content

Commit 452b413

Browse files
committed
Update Attempt.jsx
- Fix using the right Prop
1 parent 89d60cb commit 452b413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/src/Components/LandingPage/Attempt.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Utility from "../../Utility/Utility";
44

55

66
export const Attempt = ({i, attempt, setSelectedAttempt, setIsList}) => {
7-
let tagClass = Utility.setDifficultyTag("user-q-tag", question.complexity);
7+
let tagClass = Utility.setDifficultyTag("user-q-tag", attempt.questionComplexity);
88

99
return (
1010
<div

0 commit comments

Comments
 (0)