From 2a399a7e7bfaa201cef90d38d43cfa1e596fc284 Mon Sep 17 00:00:00 2001 From: Adrian Nads Date: Thu, 13 Jul 2023 20:01:39 +0800 Subject: [PATCH] UPDATED the size of QuestionsModal --- src/Components/QuestionsModal.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Components/QuestionsModal.jsx b/src/Components/QuestionsModal.jsx index b401972..b18d31e 100644 --- a/src/Components/QuestionsModal.jsx +++ b/src/Components/QuestionsModal.jsx @@ -61,7 +61,7 @@ function QuestionsModal({ dispatch, currentIndex, categories, questions }) { return (
-
+
dispatch({ type: 'CLOSE_FLASHCARD', payload: { isFlashcardOpen: false } })}> @@ -70,16 +70,16 @@ function QuestionsModal({ dispatch, currentIndex, categories, questions }) {
- {currentQuestions.length > 0 &&
setShow(!isShow)}> + {currentQuestions.length > 0 &&
setShow(!isShow)}>
{/* Question */} -

{content.question}

+

{content.question}

{ isShow ? -

{content.answer}

:

Show Answer

} +

{content.answer}

:

Show Answer

}