Skip to content

Commit 867bae9

Browse files
committed
use firstletter
1 parent e3af511 commit 867bae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/GroupAvatar/GroupAvatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const GroupAvatar: FC<GroupAvatarProps> = ({ name, avatarURL }) => {
3838
}}
3939
badgeContent={<Group />}
4040
>
41-
<Avatar alt={name} src={avatarURL} />
41+
<Avatar alt={firstLetter(name)} src={avatarURL} />
4242
</StyledBadge>
4343
)
4444
}

0 commit comments

Comments
 (0)