check bio length after trim() (#333)

This commit is contained in:
Igor 2021-03-31 20:25:21 +03:00 committed by GitHub
parent b0386fbc23
commit c6f98cfedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ const ProfilePage = (props: Props) => {
/>
</Flex> */}
<ProfileOwnersButtons />
{user.profile?.bio && (
{user.profile?.bio && user.profile?.bio.trim().length > 0 && (
<>
<Divider my={6} />
<MyContainer>