about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/account.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-01-10 20:22:28 +0100
committerThibaut Girka <thib@sitedethib.com>2019-01-10 21:00:33 +0100
commit147f4f9fd2163a2f6ebb1e4bb12aae9146835431 (patch)
tree7a5392f608ccb9d91c693615fdb198eca4690195 /app/javascript/flavours/glitch/components/account.js
parentec441e029994e8e8e73f06a46ed14b34ae9f8d66 (diff)
[Glitch] refactored account.js
Port 57c91fbbed7fa5f44c7144194e313f003c2ef8b3 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/components/account.js')
-rw-r--r--app/javascript/flavours/glitch/components/account.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/components/account.js b/app/javascript/flavours/glitch/components/account.js
index 80f20b8ad..072c601e0 100644
--- a/app/javascript/flavours/glitch/components/account.js
+++ b/app/javascript/flavours/glitch/components/account.js
@@ -67,10 +67,10 @@ export default class Account extends ImmutablePureComponent {
 
     if (hidden) {
       return (
-        <div>
+        <Fragment>
           {account.get('display_name')}
           {account.get('username')}
-        </div>
+        </Fragment>
       );
     }