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}
|
quiz={quiz}
|
||||||
retakeIds={retakeIds}
|
retakeIds={retakeIds}
|
||||||
onFinished={() => {
|
onFinished={() => {
|
||||||
setRetakeIds(null);
|
router.push(`/${classSlug}/quizzes`);
|
||||||
fetchQuizAndAttempts();
|
|
||||||
setView("history");
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue