fix: Use proper url parameter for profile img placeholder
This commit is contained in:
parent
49cb191254
commit
46698e4a40
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export default function Avatar({ user, className = '', fallback }: {
|
||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
onError={() => setGravatarAvailable(false)}
|
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"
|
alt="Avatar"
|
||||||
className={className}
|
className={className}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue