Skip to content

Commit

Permalink
fix: avatar alt text duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Apr 28, 2021
1 parent 92bccc9 commit 44cb551
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/components/src/GithubAvatar/GithubAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,12 @@ export const GithubAvatar: FC<GithubAvatarProps> = ({
</div>
);
const avatar = (
<Avatar size={size} src={profile.avatar_url || ''} title={username} />
<Avatar
size={size}
src={profile.avatar_url || ''}
alt={`avatar of ${username}`}
title={username}
/>
);
const imgSx: BoxProps['sx'] = {
maxWidth: 'unset',
Expand Down

0 comments on commit 44cb551

Please sign in to comment.