From 478091bb7bdedef1429b597175dbfbe6ff54b598 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 8 Jan 2026 02:37:14 +0100 Subject: [PATCH] Shuffle question options in QuizRunner component --- client/src/components/QuizRunner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/QuizRunner.tsx b/client/src/components/QuizRunner.tsx index add67d4..0931423 100644 --- a/client/src/components/QuizRunner.tsx +++ b/client/src/components/QuizRunner.tsx @@ -327,7 +327,7 @@ export default function QuizRunner({ defaultMode = 'all', defaultEntryId, autoSt const details: EntryDetail[] = await Promise.all(uniqueIds.map((id) => fetchEntry(id))); const pool: QuizQuestionWithEntry[] = details.flatMap((entry) => { const safeItems: EntryItems = entry.items || { grammar: [], vocab: [], conversation: [], key_phrases: [] }; - return (entry.quiz || []).map((q) => ({ + return (entry.quiz || []).map((q) => shuffleQuestionOptions({ ...q, entryId: entry.id, entryTitle: entry.title,