[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:
parent
bda5040085
commit
7d3acb1f2c
|
@ -71,7 +71,7 @@ export default class Avatar extends React.PureComponent {
|
||||||
style={style}
|
style={style}
|
||||||
data-avatar-of={account && `@${account.get('acct')}`}
|
data-avatar-of={account && `@${account.get('acct')}`}
|
||||||
role='img'
|
role='img'
|
||||||
aria-label={account.get('acct')}
|
aria-label={account?.get('acct')}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue