From a4d6af77823a17d6892831f297e93d1afe768cc8 Mon Sep 17 00:00:00 2001 From: Rykkel <220993G@mymail.nyp.edu.sg> Date: Tue, 30 Jul 2024 02:45:39 +0800 Subject: [PATCH] Fixed textvalue prop issue --- client/src/pages/CommunityPage.tsx | 2 ++ client/src/pages/PostPage.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/client/src/pages/CommunityPage.tsx b/client/src/pages/CommunityPage.tsx index 56a8857..f700dc1 100644 --- a/client/src/pages/CommunityPage.tsx +++ b/client/src/pages/CommunityPage.tsx @@ -199,6 +199,7 @@ export default function CommunityPage() { { navigate(`edit/${post.id}`); }} @@ -207,6 +208,7 @@ export default function CommunityPage() { handleDeleteClick(post)} diff --git a/client/src/pages/PostPage.tsx b/client/src/pages/PostPage.tsx index 152e358..453f4cf 100644 --- a/client/src/pages/PostPage.tsx +++ b/client/src/pages/PostPage.tsx @@ -143,6 +143,7 @@ const PostPage: React.FC = () => { { navigate(`edit/${post.id}`); }} @@ -151,6 +152,7 @@ const PostPage: React.FC = () => { handleDeleteClick(post)}