about summary refs log tree commit diff
diff options
context:
space:
mode:
author0xflotus <0xflotus@gmail.com>2019-01-07 08:23:09 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-01-07 08:23:09 +0100
commit57c91fbbed7fa5f44c7144194e313f003c2ef8b3 (patch)
tree93b713dcb96f4e2b2c2bb7be9fd11dbb0355a183
parentbc4e49fb66f8bff7121ea88c025af4ecb20c7554 (diff)
refactored account.js (#9739)
-rw-r--r--app/javascript/mastodon/components/account.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/components/account.js b/app/javascript/mastodon/components/account.js
index 2bcea8b67..206030c00 100644
--- a/app/javascript/mastodon/components/account.js
+++ b/app/javascript/mastodon/components/account.js
@@ -68,10 +68,10 @@ class Account extends ImmutablePureComponent {
 
     if (hidden) {
       return (
-        <div>
+        <Fragment>
           {account.get('display_name')}
           {account.get('username')}
-        </div>
+        </Fragment>
       );
     }