Fix error when rendering limited account in web UI (#19413)

This commit is contained in:
Eugen Rochko 2022-10-22 18:30:20 +02:00 committed by GitHub
parent 062b3c9090
commit 73a48318a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ export default class Avatar extends React.PureComponent {
onMouseLeave={this.handleMouseLeave}
style={style}
role='img'
aria-label={account.get('acct')}
aria-label={account?.get('acct')}
/>
);
}