diff --git a/app/javascript/flavours/glitch/components/account.jsx b/app/javascript/flavours/glitch/components/account.jsx
index 267a4e66aa0012..701c6be71561ba 100644
--- a/app/javascript/flavours/glitch/components/account.jsx
+++ b/app/javascript/flavours/glitch/components/account.jsx
@@ -15,10 +15,11 @@ import Permalink from './permalink';
import { RelativeTimestamp } from './relative_timestamp';
+
const messages = defineMessages({
follow: { id: 'account.follow', defaultMessage: 'Follow' },
unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' },
- requested: { id: 'account.requested', defaultMessage: 'Awaiting approval. Click to cancel follow request' },
+ requested: { id: 'account.requested', defaultMessage: 'Awaiting approval' },
unblock: { id: 'account.unblock', defaultMessage: 'Unblock @{name}' },
unmute: { id: 'account.unmute', defaultMessage: 'Unmute @{name}' },
mute_notifications: { id: 'account.mute_notifications', defaultMessage: 'Mute notifications from @{name}' },
@@ -73,16 +74,7 @@ class Account extends ImmutablePureComponent {
};
render () {
- const {
- account,
- hidden,
- intl,
- onActionClick,
- actionIcon,
- actionTitle,
- defaultAction,
- size,
- } = this.props;
+ const { account, intl, hidden, onActionClick, actionIcon, actionTitle, defaultAction, size } = this.props;
if (!account) {
return (
@@ -108,8 +100,8 @@ class Account extends ImmutablePureComponent {
let buttons;
- if (onActionClick) {
- if (actionIcon) {
+ if (actionIcon) {
+ if (onActionClick) {
buttons =