From af286bd8501f45a3bca5f9edf45c50ccc2575aa4 Mon Sep 17 00:00:00 2001 From: Abbey Campbell Date: Mon, 16 Mar 2026 15:23:48 -0700 Subject: [PATCH] if no count text is defined, username should be centered --- src/components/UserList/UserListItem.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/UserList/UserListItem.tsx b/src/components/UserList/UserListItem.tsx index 6f87932d9..2a081ff52 100644 --- a/src/components/UserList/UserListItem.tsx +++ b/src/components/UserList/UserListItem.tsx @@ -70,9 +70,11 @@ const UserListItem = ( { {user?.login} )} - - {countText} - + {!!countText && ( + + {countText} + + )}