]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] refactored account.js
authorThibaut Girka <thib@sitedethib.com>
Thu, 10 Jan 2019 19:22:28 +0000 (20:22 +0100)
committerThibaut Girka <thib@sitedethib.com>
Thu, 10 Jan 2019 20:00:33 +0000 (21:00 +0100)
Port 57c91fbbed7fa5f44c7144194e313f003c2ef8b3 to glitch-soc

app/javascript/flavours/glitch/components/account.js

index 80f20b8adfce523f4df743d1d151549b21b4bbf0..072c601e09d8cab44ab9e9082338b554c3ffc481 100644 (file)
@@ -67,10 +67,10 @@ export default class Account extends ImmutablePureComponent {
 
     if (hidden) {
       return (
-        <div>
+        <Fragment>
           {account.get('display_name')}
           {account.get('username')}
-        </div>
+        </Fragment>
       );
     }