diff options
author | Mélanie Chauvel (ariasuni) <perso@hack-libre.org> | 2019-02-27 13:38:27 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-03-01 14:01:51 +0100 |
commit | 2a4ce7458a16c64029842fde210089453be2ede1 (patch) | |
tree | e97264c543c79a996723814176917d468e92b5e2 /app/javascript/flavours/glitch/features | |
parent | 282ac61500a6246593e593ab515dec5807a336d4 (diff) |
[Glitch] Fix errors found by eslint
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r-- | app/javascript/flavours/glitch/features/account/components/profile_column_header.js | 8 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/features/following/index.js | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/profile_column_header.js b/app/javascript/flavours/glitch/features/account/components/profile_column_header.js index 32776be75..1a6abef37 100644 --- a/app/javascript/flavours/glitch/features/account/components/profile_column_header.js +++ b/app/javascript/flavours/glitch/features/account/components/profile_column_header.js @@ -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> - ) + /> + ); } + } diff --git a/app/javascript/flavours/glitch/features/following/index.js b/app/javascript/flavours/glitch/features/following/index.js index bf8fd2262..656100dad 100644 --- a/app/javascript/flavours/glitch/features/following/index.js +++ b/app/javascript/flavours/glitch/features/following/index.js @@ -94,4 +94,5 @@ export default class Following extends ImmutablePureComponent { </Column> ); } + } |