Skip to content

Commit 3f2234e

Browse files
committed
Show Also Email In DividedList
Signed-off-by: Tal Jacob <taljacob2@gmail.com>
1 parent bd2bb98 commit 3f2234e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nextstep-frontend/src/components/DividedList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const DividedList: React.FC<DividedListProps> = ({ onlineUsers, onUserClick, dis
7575
/>
7676
</ListItemAvatar>
7777
<ListItemText
78-
primary={user.username || user.email}
78+
primary={`${user.username} (${user.email})`}
7979
primaryTypographyProps={{
8080
fontSize: '0.875rem',
8181
fontWeight: selectedUserId === user.id ? 600 : 400,

0 commit comments

Comments
 (0)