Solved: A second “Next” button appears on Listening part transitions

This commit is contained in:
Tiago Ribeiro
2024-01-15 21:21:08 +00:00
parent f9e037bd7b
commit 2bad3ad09f

View File

@@ -175,7 +175,7 @@ export default function Listening({exam, showSolutions = false, onFinish}: Props
</Button> </Button>
</div> </div>
)} )}
{exerciseIndex === -1 && ( {exerciseIndex === -1 && partIndex === 0 && (
<Button color="purple" onClick={() => nextExercise()} className="max-w-[200px] self-end w-full justify-self-end"> <Button color="purple" onClick={() => nextExercise()} className="max-w-[200px] self-end w-full justify-self-end">
Start now Start now
</Button> </Button>