diff options
Diffstat (limited to 'app/assets/javascripts/components/features/account')
-rw-r--r-- | app/assets/javascripts/components/features/account/components/action_bar.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/components/features/account/components/action_bar.jsx b/app/assets/javascripts/components/features/account/components/action_bar.jsx index 9fa9fff3d..75b26775c 100644 --- a/app/assets/javascripts/components/features/account/components/action_bar.jsx +++ b/app/assets/javascripts/components/features/account/components/action_bar.jsx @@ -16,11 +16,11 @@ const ActionBar = React.createClass({ render () { const { account, me } = this.props; - let followBack = ''; + let infoText = ''; let actionButton = ''; if (account.get('id') === me) { - actionButton = 'This is you!'; + infoText = 'This is you!'; } else { if (account.getIn(['relationship', 'following'])) { actionButton = <Button text='Unfollow' onClick={this.props.onUnfollow} /> @@ -29,13 +29,13 @@ const ActionBar = React.createClass({ } if (account.getIn(['relationship', 'followed_by'])) { - followBack = 'Follows you!'; + infoText = 'Follows you!'; } } return ( <div style={{ borderTop: '1px solid #363c4b', borderBottom: '1px solid #363c4b', padding: '10px', lineHeight: '36px' }}> - {actionButton} {followBack} + {actionButton} <span style={{ color: '#616b86', fontWeight: '500', textTransform: 'uppercase' }}>{infoText}</span> </div> ); }, |