if no count text is defined, username should be centered

This commit is contained in:
Abbey Campbell
2026-03-16 15:23:48 -07:00
parent 4bcf4bb201
commit af286bd850

View File

@@ -70,9 +70,11 @@ const UserListItem = ( {
{user?.login}
</Body1>
)}
<List2 className="mt-1" maxFontSizeMultiplier={1.5}>
{countText}
</List2>
{!!countText && (
<List2 className="mt-1" maxFontSizeMultiplier={1.5}>
{countText}
</List2>
)}
</View>
</View>
</UserListItemContainer>