fix: Route 'Back to Quizzes' button on quiz end screen to actual quizzes list instead of history tab
All checks were successful
Automated Container Build / build-and-push (push) Successful in 50s

This commit is contained in:
Elijah 2026-06-28 08:32:17 -07:00
parent edc5279237
commit b7165aba44

View file

@ -196,9 +196,7 @@ export default function QuizStudyPage() {
quiz={quiz} quiz={quiz}
retakeIds={retakeIds} retakeIds={retakeIds}
onFinished={() => { onFinished={() => {
setRetakeIds(null); router.push(`/${classSlug}/quizzes`);
fetchQuizAndAttempts();
setView("history");
}} }}
/> />
)} )}