diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-09-03 10:49:36 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-03 15:00:47 -0400 |
commit | 4b22c1f99cb05be5ca187f2fd70ee2664c34de57 (patch) | |
tree | bfbaa7c5c849b6656eb8ea1267ce36028b0670b2 /web/react/components/mention_list.jsx | |
parent | e69e2db6b4724517a39c57e3689dec82608581ee (diff) | |
download | chat-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.jsx | 9 |
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> |