From 323d437a09c91f61e82e097a74f3b431509187d0 Mon Sep 17 00:00:00 2001 From: Surinna Curtis Date: Sat, 9 Sep 2017 05:25:33 -0500 Subject: [PATCH] satisfy eslint --- app/javascript/mastodon/components/account.js | 6 +----- app/javascript/mastodon/containers/account_container.js | 3 ++- .../mastodon/features/ui/components/mute_modal.js | 4 ++-- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/app/javascript/mastodon/components/account.js b/app/javascript/mastodon/components/account.js index 5a0c1c1c82..1b8b107e98 100644 --- a/app/javascript/mastodon/components/account.js +++ b/app/javascript/mastodon/components/account.js @@ -48,7 +48,7 @@ export default class Account extends ImmutablePureComponent { } handleUnmuteNotifications = () => { - this.props.onMuteNotifications(this.props.account, false); + this.props.onMuteNotifications(this.props.account, false); } render () { @@ -84,11 +84,7 @@ export default class Account extends ImmutablePureComponent { if (muting.get('notifications')) { hidingNotificationsButton = ; } else { -<<<<<<< HEAD - hidingNotificationsButton = -======= hidingNotificationsButton = ; ->>>>>>> 917b2d5f... fixup swapped icons } buttons = (
diff --git a/app/javascript/mastodon/containers/account_container.js b/app/javascript/mastodon/containers/account_container.js index 79e9e6e982..b4b8f4be27 100644 --- a/app/javascript/mastodon/containers/account_container.js +++ b/app/javascript/mastodon/containers/account_container.js @@ -63,9 +63,10 @@ const mapDispatchToProps = (dispatch, { intl }) => ({ } }, + onMuteNotifications (account, notifications) { dispatch(muteAccount(account.get('id'), notifications)); - } + }, }); export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Account)); diff --git a/app/javascript/mastodon/features/ui/components/mute_modal.js b/app/javascript/mastodon/features/ui/components/mute_modal.js index ef7c13f0a7..b5e83bb71d 100644 --- a/app/javascript/mastodon/features/ui/components/mute_modal.js +++ b/app/javascript/mastodon/features/ui/components/mute_modal.js @@ -81,9 +81,9 @@ export default class MuteModal extends React.PureComponent { />

-