]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix errors found by eslint
authorMélanie Chauvel (ariasuni) <perso@hack-libre.org>
Wed, 27 Feb 2019 12:38:27 +0000 (13:38 +0100)
committerThibG <thib@sitedethib.com>
Fri, 1 Mar 2019 13:01:51 +0000 (14:01 +0100)
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/features/account/components/profile_column_header.js
app/javascript/flavours/glitch/features/following/index.js

index 32776be75b686f3f41fb69ea124c73c7aa3c1f90..1a6abef3721bb0fdb6dfdbaf75322748958e4911 100644 (file)
@@ -1,7 +1,7 @@
 import React from 'react';
 import PropTypes from 'prop-types';
 import ColumnHeader from '../../../components/column_header';
-import { FormattedMessage, injectIntl, defineMessages } from 'react-intl';
+import { injectIntl, defineMessages } from 'react-intl';
 
 const messages = defineMessages({
   profile: { id: 'column_header.profile', defaultMessage: 'Profile' },
@@ -22,8 +22,8 @@ class ProfileColumnHeader extends React.PureComponent {
         icon='user-circle'
         title={intl.formatMessage(messages.profile)}
         showBackButton
-      >
-      </ColumnHeader>
-    )
+      />
+    );
   }
+
 }
index bf8fd22625b939d685066eb44e4acd2df8551547..656100dadf501590643dc194a7f5f4980adfeadb 100644 (file)
@@ -94,4 +94,5 @@ export default class Following extends ImmutablePureComponent {
       </Column>
     );
   }
+
 }