diff --git a/client/src/components/QuizRunner.tsx b/client/src/components/QuizRunner.tsx index a3ba75a..a15b19a 100644 --- a/client/src/components/QuizRunner.tsx +++ b/client/src/components/QuizRunner.tsx @@ -490,20 +490,33 @@ export default function QuizRunner({ defaultMode = 'all', defaultEntryId, autoSt if (status === 'finished') { const lastIndex = questions.length ? questions.length - 1 : 0; + const isRandomMode = mode === 'all'; + const entryLink = !isRandomMode && currentQuestion ? `/entry/${encodeURIComponent(currentQuestion.entryId)}` : null; return (

Nice work!

You scored {score} out of {questions.length}.

-
- + + Home + + {entryLink && ( + + Back to learn page + + )}
);