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

Port 73a48318a1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
remotes/1703361221475462875/rebase/4.0.0rc1
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')}
/>
);
}