Add back button to QuizRunner component

This commit is contained in:
2026-01-08 02:04:23 +01:00
parent d107139d6c
commit 0897fb16a0

View File

@@ -487,6 +487,9 @@ export default function QuizRunner({ defaultMode = 'all', defaultEntryId, autoSt
)}
{showResult && (
<>
<button className="button button--ghost" onClick={goPrev} disabled={currentIndex === 0}>
Back
</button>
<button className="button button--primary" onClick={goNext}>
{currentIndex + 1 === questions.length ? 'Finish' : 'Next'}
</button>