From 44c725fd179ceb76c0f0648df92340054cb43634 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 11 Dec 2016 23:13:05 +0100 Subject: [PATCH] Fix #157 - labels/titles on follow/unfollow buttons --- app/assets/javascripts/components/components/account.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/components/components/account.jsx b/app/assets/javascripts/components/components/account.jsx index d63ad646eb..814d8a9c8e 100644 --- a/app/assets/javascripts/components/components/account.jsx +++ b/app/assets/javascripts/components/components/account.jsx @@ -7,7 +7,8 @@ import IconButton from './icon_button'; import { defineMessages, injectIntl } from 'react-intl'; const messages = defineMessages({ - follow: { id: 'account.follow', defaultMessage: 'Follow' } + follow: { id: 'account.follow', defaultMessage: 'Follow' }, + unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' } }); const outerStyle = { @@ -72,7 +73,7 @@ const Account = React.createClass({ if (account.get('id') !== me && account.get('relationship', null) != null) { const following = account.getIn(['relationship', 'following']); - buttons = ; + buttons = ; } return (