Fix/898: Avatar images now only displaying if avatarUrl is valid (#899)
This commit is contained in:
parent
11be7aaa8a
commit
70aae5003d
@ -66,6 +66,7 @@ const ValidatorRenderer = ({ data }: ValidatorRendererProps) => {
|
||||
className="h-24 w-24 rounded-full mr-8"
|
||||
src={avatarUrl}
|
||||
alt={`Avatar icon for ${name}`}
|
||||
onError={(e) => (e.currentTarget.style.display = 'none')}
|
||||
/>
|
||||
)}
|
||||
{name}
|
||||
|
Loading…
Reference in New Issue
Block a user