summaryrefslogtreecommitdiffstats
path: root/webapp/components/emoji
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-09-23 12:29:54 -0400
committerGitHub <noreply@github.com>2016-09-23 12:29:54 -0400
commit93f2b6a83302ceef5c98be4fb696840608ad3bc3 (patch)
tree89e86c5983058189f032c817573bfd945491b4e7 /webapp/components/emoji
parent214f9c13a261064733c23d762fa521444fbd7a9c (diff)
downloadchat-93f2b6a83302ceef5c98be4fb696840608ad3bc3.tar.gz
chat-93f2b6a83302ceef5c98be4fb696840608ad3bc3.tar.bz2
chat-93f2b6a83302ceef5c98be4fb696840608ad3bc3.zip
Updating ESLint (#4085)
Diffstat (limited to 'webapp/components/emoji')
-rw-r--r--webapp/components/emoji/components/emoji_list.jsx4
-rw-r--r--webapp/components/emoji/components/emoji_list_item.jsx2
2 files changed, 3 insertions, 3 deletions
diff --git a/webapp/components/emoji/components/emoji_list.jsx b/webapp/components/emoji/components/emoji_list.jsx
index 273fc8a25..340fc6afc 100644
--- a/webapp/components/emoji/components/emoji_list.jsx
+++ b/webapp/components/emoji/components/emoji_list.jsx
@@ -69,7 +69,7 @@ export default class EmojiList extends React.Component {
const filter = this.state.filter.toLowerCase();
const isSystemAdmin = Utils.isSystemAdmin(this.props.user.roles);
- let emojis = [];
+ const emojis = [];
if (this.state.loading) {
emojis.push(
<LoadingScreen key='loading'/>
@@ -129,7 +129,7 @@ export default class EmojiList extends React.Component {
</div>
<div className='backstage-filters'>
<div className='backstage-filter__search'>
- <i className='fa fa-search'></i>
+ <i className='fa fa-search'/>
<input
type='search'
className='form-control'
diff --git a/webapp/components/emoji/components/emoji_list_item.jsx b/webapp/components/emoji/components/emoji_list_item.jsx
index 0882ff764..0428f0286 100644
--- a/webapp/components/emoji/components/emoji_list_item.jsx
+++ b/webapp/components/emoji/components/emoji_list_item.jsx
@@ -110,7 +110,7 @@ export default class EmojiListItem extends React.Component {
{creatorName}
</td>
<td className='emoji-list-item_actions'>
- {deleteButton}
+ {deleteButton}
</td>
</tr>
);