[Glitch] Fix error when rendering limited account in web UI

Port 73a48318a1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko 2022-10-22 18:30:20 +02:00 committed by Claire
parent bda5040085
commit 7d3acb1f2c
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export default class Avatar extends React.PureComponent {
style={style}
data-avatar-of={account && `@${account.get('acct')}`}
role='img'
aria-label={account.get('acct')}
aria-label={account?.get('acct')}
/>
);
}