From c66e3771333cf8548ac35c43c0b646ccc05fc20c Mon Sep 17 00:00:00 2001 From: Rose Wang Date: Tue, 27 Dec 2022 16:58:48 -0500 Subject: [PATCH] done --- client/src/Question/QuestionPage.tsx | 7 +-- client/src/Question/ResourceComponent.tsx | 61 +++++++++++------------ 2 files changed, 29 insertions(+), 39 deletions(-) diff --git a/client/src/Question/QuestionPage.tsx b/client/src/Question/QuestionPage.tsx index c7a0b58f..8a390ed8 100644 --- a/client/src/Question/QuestionPage.tsx +++ b/client/src/Question/QuestionPage.tsx @@ -153,12 +153,7 @@ function QuestionPage() { return ( - + diff --git a/client/src/Question/ResourceComponent.tsx b/client/src/Question/ResourceComponent.tsx index 90730ab6..4c4c0ed7 100644 --- a/client/src/Question/ResourceComponent.tsx +++ b/client/src/Question/ResourceComponent.tsx @@ -15,45 +15,40 @@ function ResourceComponent(props: ResourceComponentProps) { return ( // eslint-disable-next-line no-underscore-dangle
- + - - - - Resources - - - {question.resultantAnswers.map((answer) => { - return ( - - - - ); - })} + + + Resources + + {question.resultantAnswers.map((answer) => { + return ( + + + + ); + })} - +
); }