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, onChange,
showResult, showResult,
lastCorrect, lastCorrect,
canSubmit,
}: { }: {
question: QuizQuestionWithEntry; question: QuizQuestionWithEntry;
response: any; response: any;
onChange: (val: any) => void; onChange: (val: any) => void;
showResult: boolean; showResult: boolean;
lastCorrect: boolean; lastCorrect: boolean;
canSubmit: boolean;
}) { }) {
const payload = question.payload || {}; const payload = question.payload || {};
const type = question.type || ''; const type = question.type || '';