From ae1a7cdb0d18b9abe71ffeba2e2e8a3446d895ff Mon Sep 17 00:00:00 2001 From: Lorenzo Corallo Date: Wed, 26 Apr 2023 17:52:12 +0200 Subject: [PATCH] fix(RecapBar): fix question switch via RecapBar --- src/components/QuestionsForm/RecapBar.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/QuestionsForm/RecapBar.tsx b/src/components/QuestionsForm/RecapBar.tsx index f5fa370..385cd13 100644 --- a/src/components/QuestionsForm/RecapBar.tsx +++ b/src/components/QuestionsForm/RecapBar.tsx @@ -50,11 +50,12 @@ interface RecapBarProps { export default function RecapBar(props: RecapBarProps) { return (
- {props.sectionQuestions.map((q, i) => { const answer = props.sectionAnswers.find( @@ -73,7 +74,7 @@ export default function RecapBar(props: RecapBarProps) { /> ) })} - +
) }