From dbb3d2f9b5d8fff783b98d37ef55fda7b8ed1008 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Wed, 30 Mar 2022 14:38:16 +1100 Subject: [PATCH] Chap05 -> Using route parameters -> Implementing more of the question page -> 7. Implement question content --- QandA/frontend/src/QuestionPage.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/QandA/frontend/src/QuestionPage.tsx b/QandA/frontend/src/QuestionPage.tsx index 71e4cbf..8033c79 100644 --- a/QandA/frontend/src/QuestionPage.tsx +++ b/QandA/frontend/src/QuestionPage.tsx @@ -40,6 +40,18 @@ export const QuestionPage = () => { > {question === null ? '' : question.title} + {question !== null && ( + +

+ {question.content} +

+
+ )} Question Page {questionId}