From: Mélanie Chauvel (ariasuni) Date: Wed, 27 Feb 2019 12:38:27 +0000 (+0100) Subject: [Glitch] Fix errors found by eslint X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=2a4ce7458a16c64029842fde210089453be2ede1;p=mastodon.git [Glitch] Fix errors found by eslint Signed-off-by: Thibaut Girka --- 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 - > - - ) + /> + ); } + } 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 { ); } + }