Remove unused props from QuestionRenderer
This commit is contained in:
@@ -93,14 +93,12 @@ function QuestionRenderer({
|
||||
onChange,
|
||||
showResult,
|
||||
lastCorrect,
|
||||
canSubmit,
|
||||
}: {
|
||||
question: QuizQuestionWithEntry;
|
||||
response: any;
|
||||
onChange: (val: any) => void;
|
||||
showResult: boolean;
|
||||
lastCorrect: boolean;
|
||||
canSubmit: boolean;
|
||||
}) {
|
||||
const payload = question.payload || {};
|
||||
const type = question.type || '';
|
||||
|
||||
Reference in New Issue
Block a user