Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Punvireakroth committed Aug 3, 2023
1 parent da46465 commit 4994885
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/components/Survey/DisplaySurvey/DisplaySurvey.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,14 @@ const DisplaySurvey = (props) => {
}
};

console.log(isSpecificConditionTrue, isUserAnswerTrue);

if (isSpecificConditionTrue) {
if (isUserAnswerTrue) {
// Add the dynamic short response question
addDynamicShortResponseQuestion();
} else {
// Remove the dynamic short response question
removeDynamicShortResponseQuestion();
}
}
Expand Down

0 comments on commit 4994885

Please sign in to comment.