From 4b22c1f99cb05be5ca187f2fd70ee2664c34de57 Mon Sep 17 00:00:00 2001
From: Christopher Speller <crspeller@gmail.com>
Date: Thu, 3 Sep 2015 10:49:36 -0400
Subject: Upgrading ESLint and adding some more rules. Refactoring to meet
 these new rules

---
 web/react/components/mention.jsx | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

(limited to 'web/react/components/mention.jsx')

diff --git a/web/react/components/mention.jsx b/web/react/components/mention.jsx
index 72a2a6251..3a09e843d 100644
--- a/web/react/components/mention.jsx
+++ b/web/react/components/mention.jsx
@@ -19,11 +19,14 @@ export default class Mention extends React.Component {
         if (this.props.id === 'allmention' || this.props.id === 'channelmention') {
             icon = <span><i className='mention-img fa fa-users fa-2x'></i></span>;
         } else if (this.props.id != null) {
-            icon = (<span><img
-                            className='mention-img'
-                            src={'/api/v1/users/' + this.props.id + '/image?time=' + timestamp}
-                        />
-                    </span>);
+            icon = (
+                <span>
+                    <img
+                        className='mention-img'
+                        src={'/api/v1/users/' + this.props.id + '/image?time=' + timestamp}
+                    />
+                </span>
+            );
         } else {
             icon = <span><i className='mention-img fa fa-users fa-2x'></i></span>;
         }
-- 
cgit v1.2.3-1-g7c22

