satisfy eslint
This commit is contained in:
		
							parent
							
								
									20fd564109
								
							
						
					
					
						commit
						5774861ece
					
				
					 3 changed files with 5 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -84,11 +84,7 @@ export default class Account extends ImmutablePureComponent {
 | 
			
		|||
        if (muting.get('notifications')) {
 | 
			
		||||
          hidingNotificationsButton = <IconButton active icon='bell' title={intl.formatMessage(messages.unmute_notifications, { name: account.get('username')  })} onClick={this.handleUnmuteNotifications} />;
 | 
			
		||||
        } else {
 | 
			
		||||
<<<<<<< HEAD
 | 
			
		||||
          hidingNotificationsButton = <IconButton active icon='bell' title={intl.formatMessage(messages.mute_notifications, { name: account.get('username')  })} onClick={this.handleMuteNotifications} />
 | 
			
		||||
=======
 | 
			
		||||
          hidingNotificationsButton = <IconButton active icon='bell-slash' title={intl.formatMessage(messages.mute_notifications, { name: account.get('username')  })} onClick={this.handleMuteNotifications} />;
 | 
			
		||||
>>>>>>> 917b2d5f... fixup swapped icons
 | 
			
		||||
        }
 | 
			
		||||
        buttons = (
 | 
			
		||||
          <div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,9 +63,10 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
 | 
			
		|||
    }
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  onMuteNotifications (account, notifications) {
 | 
			
		||||
    dispatch(muteAccount(account.get('id'), notifications));
 | 
			
		||||
  }
 | 
			
		||||
  },
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(Account));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -81,9 +81,9 @@ export default class MuteModal extends React.PureComponent {
 | 
			
		|||
            />
 | 
			
		||||
          </p>
 | 
			
		||||
          <p>
 | 
			
		||||
            <label>
 | 
			
		||||
            <label htmlFor='mute-modal__hide-notifications-checkbox'>
 | 
			
		||||
              <FormattedMessage id='mute_modal.hide_notifications' defaultMessage='Hide notifications from this user?' />
 | 
			
		||||
              <input type='checkbox' checked={notifications} onChange={this.toggleNotifications} />
 | 
			
		||||
              <input id='mute-modal__hide-notifications-checkbox' type='checkbox' checked={notifications} onChange={this.toggleNotifications} />
 | 
			
		||||
            </label>
 | 
			
		||||
          </p>
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue