about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/components/avatar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/avatar.js b/app/javascript/flavours/glitch/components/avatar.js
index 1da4a861c..38fd99af5 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')}
       />
     );
   }