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
All checks were successful
Automated Container Build / build-and-push (push) Successful in 50s
This commit is contained in:
parent
edc5279237
commit
b7165aba44
1 changed files with 1 additions and 3 deletions
|
|
@ -196,9 +196,7 @@ export default function QuizStudyPage() {
|
|||
quiz={quiz}
|
||||
retakeIds={retakeIds}
|
||||
onFinished={() => {
|
||||
setRetakeIds(null);
|
||||
fetchQuizAndAttempts();
|
||||
setView("history");
|
||||
router.push(`/${classSlug}/quizzes`);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue