mirror of
https://github.com/UniversityOfHelsinkiCS/ohtuilmo.git
synced 2026-10-12 19:03:41 +03:00
fix: correct questionId lint fix
This commit is contained in:
@@ -230,7 +230,7 @@ const Questions = ({ questions, peers, answerSheet, updateAnswer, updatePeerRevi
|
||||
}
|
||||
|
||||
const Question = ({ peers, question, questionId, answerSheet, updateAnswer, updatePeerReview }) => {
|
||||
if (!questionId) {
|
||||
if (questionId === undefined) {
|
||||
console.error('No questionId given')
|
||||
return (
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user