Add canSubmit prop to QuestionRenderer

This commit is contained in:
2026-01-08 02:10:36 +01:00
parent fad98dc4e0
commit 639b59ce3f

View File

@@ -99,6 +99,7 @@ function QuestionRenderer({
onChange: (val: any) => void;
showResult: boolean;
lastCorrect: boolean;
canSubmit: boolean;
}) {
const payload = question.payload || {};
const type = question.type || '';