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

Port 73a48318a1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
local
Eugen Rochko 2 years ago committed by Claire
parent bda5040085
commit 7d3acb1f2c
  1. 2
      app/javascript/flavours/glitch/components/avatar.js

@ -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')}
/>
);
}

Loading…
Cancel
Save