diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-09-23 12:29:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-23 12:29:54 -0400 |
commit | 93f2b6a83302ceef5c98be4fb696840608ad3bc3 (patch) | |
tree | 89e86c5983058189f032c817573bfd945491b4e7 /webapp/components/suggestion | |
parent | 214f9c13a261064733c23d762fa521444fbd7a9c (diff) | |
download | chat-93f2b6a83302ceef5c98be4fb696840608ad3bc3.tar.gz chat-93f2b6a83302ceef5c98be4fb696840608ad3bc3.tar.bz2 chat-93f2b6a83302ceef5c98be4fb696840608ad3bc3.zip |
Updating ESLint (#4085)
Diffstat (limited to 'webapp/components/suggestion')
4 files changed, 7 insertions, 7 deletions
diff --git a/webapp/components/suggestion/channel_mention_provider.jsx b/webapp/components/suggestion/channel_mention_provider.jsx index 9e8a7b47b..17dbb6e48 100644 --- a/webapp/components/suggestion/channel_mention_provider.jsx +++ b/webapp/components/suggestion/channel_mention_provider.jsx @@ -17,7 +17,7 @@ class ChannelMentionSuggestion extends Suggestion { const item = this.props.item; const channelName = item.channel.display_name; - let purpose = item.channel.purpose; + const purpose = item.channel.purpose; let className = 'mentions__name'; if (isSelection) { diff --git a/webapp/components/suggestion/search_channel_provider.jsx b/webapp/components/suggestion/search_channel_provider.jsx index 6513f0f2b..1bfcda77d 100644 --- a/webapp/components/suggestion/search_channel_provider.jsx +++ b/webapp/components/suggestion/search_channel_provider.jsx @@ -23,7 +23,7 @@ class SearchChannelSuggestion extends Suggestion { onClick={this.handleClick} className={className} > - <i className='fa fa fa-plus-square'></i>{item.name} + <i className='fa fa fa-plus-square'/>{item.name} </div> ); } diff --git a/webapp/components/suggestion/search_user_provider.jsx b/webapp/components/suggestion/search_user_provider.jsx index e33c206a7..b5466cf39 100644 --- a/webapp/components/suggestion/search_user_provider.jsx +++ b/webapp/components/suggestion/search_user_provider.jsx @@ -27,7 +27,7 @@ class SearchUserSuggestion extends Suggestion { className='profile-img rounded' src={Client.getUsersRoute() + '/' + item.id + '/image?time=' + item.update_at} /> - <i className='fa fa fa-plus-square'></i>{item.username} + <i className='fa fa fa-plus-square'/>{item.username} </div> ); } diff --git a/webapp/components/suggestion/switch_channel_provider.jsx b/webapp/components/suggestion/switch_channel_provider.jsx index e0c862e7e..70e95b9b1 100644 --- a/webapp/components/suggestion/switch_channel_provider.jsx +++ b/webapp/components/suggestion/switch_channel_provider.jsx @@ -29,9 +29,9 @@ class SwitchChannelSuggestion extends Suggestion { let icon = null; if (item.type === Constants.OPEN_CHANNEL) { - icon = <div className='status'><i className='fa fa-globe'></i></div>; + icon = <div className='status'><i className='fa fa-globe'/></div>; } else if (item.type === Constants.PRIVATE_CHANNEL) { - icon = <div className='status'><i className='fa fa-lock'></i></div>; + icon = <div className='status'><i className='fa fa-lock'/></div>; } else { icon = <StatusIcon status={item.status}/>; } @@ -41,8 +41,8 @@ class SwitchChannelSuggestion extends Suggestion { onClick={this.handleClick} className={className} > - {icon} - {displayName} + {icon} + {displayName} </div> ); } |