Skip to content

feat: add avatar urls to groups #4525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Oct 17, 2022
Prev Previous commit
Next Next commit
use a better alt for avatars
  • Loading branch information
sreya committed Oct 14, 2022
commit cf1243b34047dede16c163e1be6154bb19b59751
2 changes: 1 addition & 1 deletion site/src/components/GroupAvatar/GroupAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const GroupAvatar: FC<GroupAvatarProps> = ({ name, avatarURL }) => {
>
<Avatar>
{avatarURL ? (
<img alt={`${name}'s Avatar`} src={avatarURL} width="100%" />
<img alt={firstLetter(name)} src={avatarURL} width="100%" />
) : (
firstLetter(name)
)}
Expand Down