There was an error in the quiz-page due to a prop types requirement for a boolean as IsAgreementQuestion. In the database it is either 0 or 1, so in the QuizAnswers.component, I changed treatment of the prop from a boolean to a number.
Fixes #
How to test?
Open branch and run "npm run dev". Run test through and check for errors.
Checklist
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] This PR is ready to be merged and not breaking any other functionality
Description
There was an error in the quiz-page due to a prop types requirement for a boolean as IsAgreementQuestion. In the database it is either 0 or 1, so in the QuizAnswers.component, I changed treatment of the prop from a boolean to a number.
Fixes #
How to test?
Open branch and run "npm run dev". Run test through and check for errors.
Checklist