summaryrefslogtreecommitdiffstats
path: root/web/react/components/mention_list.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-03 10:49:36 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-03 15:00:47 -0400
commit4b22c1f99cb05be5ca187f2fd70ee2664c34de57 (patch)
treebfbaa7c5c849b6656eb8ea1267ce36028b0670b2 /web/react/components/mention_list.jsx
parente69e2db6b4724517a39c57e3689dec82608581ee (diff)
downloadchat-4b22c1f99cb05be5ca187f2fd70ee2664c34de57.tar.gz
chat-4b22c1f99cb05be5ca187f2fd70ee2664c34de57.tar.bz2
chat-4b22c1f99cb05be5ca187f2fd70ee2664c34de57.zip
Upgrading ESLint and adding some more rules. Refactoring to meet these new rules
Diffstat (limited to 'web/react/components/mention_list.jsx')
-rw-r--r--web/react/components/mention_list.jsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/web/react/components/mention_list.jsx b/web/react/components/mention_list.jsx
index afea30161..46a9d76ae 100644
--- a/web/react/components/mention_list.jsx
+++ b/web/react/components/mention_list.jsx
@@ -216,7 +216,8 @@ export default class MentionList extends React.Component {
listId={index}
isFocused={isFocused}
handleMouseEnter={this.handleMouseEnter.bind(this, index)}
- handleClick={this.handleClick} />
+ handleClick={this.handleClick}
+ />
);
index++;
}
@@ -240,11 +241,13 @@ export default class MentionList extends React.Component {
return (
<div
className='mentions--top'
- style={style}>
+ style={style}
+ >
<div
ref='mentionlist'
className='mentions-box'
- id='mentionsbox'>
+ id='mentionsbox'
+ >
{mentions}
</div>
</div>