Remove unused props from QuestionRenderer

This commit is contained in:
2026-01-08 02:11:37 +01:00
parent 1073bc1ada
commit fb213e8c15

View File

@@ -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 || '';