fix: don't show 0 if there is no description (#290)

This commit is contained in:
Alejandro
2023-02-13 16:00:36 +01:00
committed by GitHub
parent f129ef4e21
commit 9a608ee5c8

View File

@ -150,7 +150,7 @@ export default function ProfilePage() {
function bio() { function bio() {
return ( return (
aboutText.length && ( aboutText.length > 0 && (
<div dir="auto" className="details"> <div dir="auto" className="details">
{about} {about}
</div> </div>