Merge pull request #278 from sourceinteractive/fix/gravatar-url

fix: Use proper url parameter for profile img placeholder
pull/290/head^2
Bailey Pumfleet 2021-06-21 11:35:05 +01:00 committed by GitHub
commit 47b39a58e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ export default function Avatar({ user, className = '', fallback }: {
return (
<img
onError={() => setGravatarAvailable(false)}
src={`https://www.gravatar.com/avatar/${md5(user.email)}?d=404&s=160`}
src={`https://www.gravatar.com/avatar/${md5(user.email)}?s=160&d=identicon&r=PG`}
alt="Avatar"
className={className}
/>