From 7d3acb1f2c984cb402aa507b51abf7c824227fc8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 22 Oct 2022 18:30:20 +0200 Subject: [PATCH] [Glitch] Fix error when rendering limited account in web UI Port 73a48318a19a207c63f6d03ecea8ce35b7e2364a to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/components/avatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/avatar.js b/app/javascript/flavours/glitch/components/avatar.js index 1da4a861cb7..38fd99af595 100644 --- a/app/javascript/flavours/glitch/components/avatar.js +++ b/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')} /> ); }