From fa5760318a16fb276a1738b17528e38206dd1317 Mon Sep 17 00:00:00 2001 From: Rykkel <220993G@mymail.nyp.edu.sg> Date: Mon, 12 Aug 2024 22:20:36 +0800 Subject: [PATCH] Removed redundant code --- client/src/components/CommentsModule.tsx | 12 +----------- client/src/pages/CommunityPage.tsx | 16 +--------------- client/src/pages/PostPage.tsx | 11 ----------- 3 files changed, 2 insertions(+), 37 deletions(-) diff --git a/client/src/components/CommentsModule.tsx b/client/src/components/CommentsModule.tsx index 5634536..dcb081d 100644 --- a/client/src/components/CommentsModule.tsx +++ b/client/src/components/CommentsModule.tsx @@ -106,17 +106,7 @@ export default function CommentsModule() {
- - +
); diff --git a/client/src/pages/CommunityPage.tsx b/client/src/pages/CommunityPage.tsx index e7ff157..54ecc46 100644 --- a/client/src/pages/CommunityPage.tsx +++ b/client/src/pages/CommunityPage.tsx @@ -317,24 +317,10 @@ export default function CommunityPage() { - - diff --git a/client/src/pages/PostPage.tsx b/client/src/pages/PostPage.tsx index 4ef8d50..444dab4 100644 --- a/client/src/pages/PostPage.tsx +++ b/client/src/pages/PostPage.tsx @@ -237,17 +237,6 @@ const PostPage: React.FC = () => {

)} -
- - - -