diff --git a/src/formDesigner/views/CreateEditConcept.js b/src/formDesigner/views/CreateEditConcept.js index 3bc274928..670b7b549 100644 --- a/src/formDesigner/views/CreateEditConcept.js +++ b/src/formDesigner/views/CreateEditConcept.js @@ -247,11 +247,11 @@ class CreateEditConcept extends Component { }; removeDuplicateVoidedAnswers(answers, index, answerName) { - remove(answers, (answer, idx) => idx != index && answer.voided && answer.name === answerName); + remove(answers, (answer, idx) => idx !== index && answer.voided && answer.name === answerName); } removeDuplicateNonVoidedAnswers(answers, index, answerName) { - remove(answers, (answer, idx) => idx != index && !answer.voided && answer.name === answerName); + remove(answers, (answer, idx) => idx !== index && !answer.voided && answer.name === answerName); } onMoveUp = index => {