From c6f98cfeddcd2148b0df59b884efdc443045246c Mon Sep 17 00:00:00 2001 From: Igor Date: Wed, 31 Mar 2021 20:25:21 +0300 Subject: [PATCH] check bio length after trim() (#333) --- pages/u/[identifier].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/u/[identifier].tsx b/pages/u/[identifier].tsx index f8c652599..5786efd78 100644 --- a/pages/u/[identifier].tsx +++ b/pages/u/[identifier].tsx @@ -117,7 +117,7 @@ const ProfilePage = (props: Props) => { /> */} - {user.profile?.bio && ( + {user.profile?.bio && user.profile?.bio.trim().length > 0 && ( <>