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
fix a little avatar bug
  • Loading branch information
sreya committed Oct 17, 2022
commit 16c0ed6788cec605cf9d59e2ea992c8d1dcd4422
2 changes: 1 addition & 1 deletion site/src/components/GroupAvatar/GroupAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const GroupAvatar: FC<GroupAvatarProps> = ({ name, avatarURL }) => {
}}
badgeContent={<Group />}
>
<Avatar alt={firstLetter(name)} src={avatarURL} />
<Avatar src={avatarURL}>{firstLetter(name)}</Avatar>
</StyledBadge>
)
}