From 59835087b5015758d680a730206279026ba73734 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 13 Oct 2021 12:12:21 -0500 Subject: [PATCH] ActionButton: remove minus icon from Unfollow button --- app/soapbox/features/ui/components/action_button.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/soapbox/features/ui/components/action_button.js b/app/soapbox/features/ui/components/action_button.js index 1fb3c6420..2a171a2f3 100644 --- a/app/soapbox/features/ui/components/action_button.js +++ b/app/soapbox/features/ui/components/action_button.js @@ -109,8 +109,14 @@ class ActionButton extends ImmutablePureComponent { })} onClick={this.handleFollow} > - {intl.formatMessage(account.getIn(['relationship', 'following']) ? messages.unfollow : messages.follow)} - + {account.getIn(['relationship', 'following']) ? ( + intl.formatMessage(messages.unfollow) + ) : ( + <> + {intl.formatMessage(messages.follow)} + + + )} ); } else if (account.getIn(['relationship', 'blocking'])) { // Unblock