From 87cdbebcc50e6cd9ee964e2e2c20431eb10501c2 Mon Sep 17 00:00:00 2001 From: Mohammad Yasir <74600745+Yasir761@users.noreply.github.com> Date: Mon, 20 Feb 2023 20:49:27 +0530 Subject: [PATCH] =?UTF-8?q?=20This=20commit=20suggests=20that=20if=20there?= =?UTF-8?q?=20is=20no=20name=20then=20the=20username=20will=E2=80=A6=20(#2?= =?UTF-8?q?700)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * This commit suggests that if there is no name then the username will come in place of a name * Unnecessary comments has been removed also,revert changes in package-lock.json * Remove White Spaces * File has been restored to its original version . * Followed some checks description to improve code --- web/components/ui/followers/SingleFollower/SingleFollower.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/ui/followers/SingleFollower/SingleFollower.tsx b/web/components/ui/followers/SingleFollower/SingleFollower.tsx index ac4f5a6fa..37447648b 100644 --- a/web/components/ui/followers/SingleFollower/SingleFollower.tsx +++ b/web/components/ui/followers/SingleFollower/SingleFollower.tsx @@ -22,7 +22,7 @@ export const SingleFollower: FC = ({ follower }) => ( - {follower.name} + {follower.name || follower.username} {follower.username}