Update play again button to restart quiz directly

This commit is contained in:
2026-01-08 01:35:52 +01:00
parent a60e37e9ad
commit 8b45cb06cb

View File

@@ -379,7 +379,7 @@ export default function QuizRunner({ defaultMode = 'all', defaultEntryId, autoSt
<h2>Nice work!</h2>
<p className="muted">You scored {score} out of {questions.length}.</p>
<div className="actions">
<button className="button" onClick={() => setStatus('setup')}>
<button className="button" onClick={startQuiz}>
Play again
</button>
</div>