mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +02:00
@@ -25,7 +25,7 @@ export default function avatar(user, attrs = {}) {
|
||||
if (hasTitle) attrs.title = attrs.title || username;
|
||||
|
||||
if (avatarUrl) {
|
||||
return <img {...attrs} src={avatarUrl} />;
|
||||
return <img {...attrs} src={avatarUrl} alt="" />;
|
||||
}
|
||||
|
||||
content = username.charAt(0).toUpperCase();
|
||||
|
Reference in New Issue
Block a user