diff --git a/src/components/workspace-canvas/QuizContent.tsx b/src/components/workspace-canvas/QuizContent.tsx index 373024e7..ced34b6e 100644 --- a/src/components/workspace-canvas/QuizContent.tsx +++ b/src/components/workspace-canvas/QuizContent.tsx @@ -178,6 +178,15 @@ export function QuizContent({ item, onUpdateData, isScrollLocked = false }: Quiz } }; + // Arrow navigation - only moves between questions, never shows results + const handleArrowNext = () => { + if (currentIndex < totalQuestions - 1) { + const nextIndex = currentIndex + 1; + setCurrentIndex(nextIndex); + persistSession({ currentIndex: nextIndex }); + } + }; + const handlePrevious = () => { if (currentIndex > 0) { const prevIndex = currentIndex - 1; @@ -464,9 +473,10 @@ export function QuizContent({ item, onUpdateData, isScrollLocked = false }: Quiz @@ -490,11 +500,11 @@ export function QuizContent({ item, onUpdateData, isScrollLocked = false }: Quiz - {/* Right: Check */} + {/* Right: Check/Next Button */}