From 0ab013393a505e89ccf2caa3d86533cf4038c727 Mon Sep 17 00:00:00 2001 From: manikumarreddyu <133508962+manikumarreddyu@users.noreply.github.com> Date: Tue, 25 Jun 2024 08:29:51 +0530 Subject: [PATCH] Update PostCard.tsx --- frontend/src/components/PostCard.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/PostCard.tsx b/frontend/src/components/PostCard.tsx index 05e6b848..11593c7a 100644 --- a/frontend/src/components/PostCard.tsx +++ b/frontend/src/components/PostCard.tsx @@ -111,7 +111,13 @@ const PostCard = ({ post, onDelete, currentUser }: Props) => { ? `${post.description.slice(0, 100)}...` : post.description}
-By: {post.author.username}
+By : + + + {' '} @{post.author.username}{' '} + + +