🐛🚑🤩 Ajout du bouton précédent à la fin des simulateurs

Issue #1664
pull/1940/head
Jérémy Rialland 2022-01-18 18:15:16 +01:00 committed by Jérémy Rialland
parent 52a7a0b5b8
commit 90856f2762
1 changed files with 12 additions and 1 deletions

View File

@ -129,7 +129,18 @@ export default function Conversation({ customEndMessages }: ConversationProps) {
</Trans>
)}
</Body>
<SeeAnswersButton />
<Grid container spacing={2}>
{previousAnswers.length > 0 && (
<Grid item xs={6} sm="auto">
<Button light onPress={goToPrevious} size="XS">
<Trans>Précédent</Trans>
</Button>
</Grid>
)}
<Grid container item xs={6} sm justifyContent="flex-end">
<SeeAnswersButton />
</Grid>
</Grid>
<Spacing lg />
</div>
)