From 639b59ce3fd4895827a5e1acee3bc0ffa9f5508f Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 8 Jan 2026 02:10:36 +0100 Subject: [PATCH] Add canSubmit prop to QuestionRenderer --- client/src/components/QuizRunner.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/QuizRunner.tsx b/client/src/components/QuizRunner.tsx index 9ecc730..1d910c7 100644 --- a/client/src/components/QuizRunner.tsx +++ b/client/src/components/QuizRunner.tsx @@ -99,6 +99,7 @@ function QuestionRenderer({ onChange: (val: any) => void; showResult: boolean; lastCorrect: boolean; + canSubmit: boolean; }) { const payload = question.payload || {}; const type = question.type || '';