Skip to content

Commit

Permalink
Merge pull request #640 from all-rit/hotfix-quiz
Browse files Browse the repository at this point in the history
hot fix for quiz formatting
  • Loading branch information
heathermoses authored Oct 9, 2024
2 parents 70450a1 + e724f24 commit 029cfb5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ const QuestionsHandler = (props) => {
}
return (
<Quiz
isFinalQuiz={props.isFinalQuiz}
answer={""}
answerOptions={answerOption}
disable={disableNext}
Expand All @@ -110,6 +111,7 @@ const QuestionsHandler = (props) => {
QuestionsHandler.propTypes = {
questions: PropTypes.array.isRequired,
handleContinue: PropTypes.func.isRequired,
isFinalQuiz: PropTypes.bool,
};

export default QuestionsHandler;
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const AIAnalysisQuestions = () => {
<h2 className="playthrough__title">AI Analysis Survey</h2>

<QuestionsHandler
isFinalQuiz={true}
questions={aiAnalysisData}
handleContinue={handleContinue}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ function QualificationQuestions() {
<h2 className="playthrough__title">Qualification Questions</h2>

<QuestionsHandler
isFinalQuiz={true}
questions={qualQuestionsData}
handleContinue={handleContinue}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const AIReasoningQuestions = () => {
<h2 className="playthrough__title">AI Reasoning Survey</h2>

<QuestionsHandler
isFinalQuiz={true}
questions={aiReasoningData}
handleContinue={handleContinue}
/>
Expand Down

0 comments on commit 029cfb5

Please sign in to comment.