From 18807dac42badce57db4a13be5ace2ba2093e8aa Mon Sep 17 00:00:00 2001
From: nickago <ngonella@calpoly.edu>
Date: Fri, 4 Sep 2015 08:36:50 -0700
Subject: Added refactoring to pass style check

---
 web/react/components/user_settings_general.jsx | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

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

diff --git a/web/react/components/user_settings_general.jsx b/web/react/components/user_settings_general.jsx
index f43889f7a..f2127ce0c 100644
--- a/web/react/components/user_settings_general.jsx
+++ b/web/react/components/user_settings_general.jsx
@@ -273,15 +273,16 @@ export default class UserSettingsGeneralTab extends React.Component {
                 this.props.updateTab('notifications');
             }
 
-            let notifLink = (
+            const notifLink = (
                 <a
                     href='#'
-                    onClick={notifClick.bind(this)} >
+                    onClick={notifClick.bind(this)}
+                >
                     Notifications
                 </a>
             );
 
-            let extraInfo = (
+            const extraInfo = (
                 <span>
                     By default, you will receive mention notifications when someone types your first name.
                     Go to {notifLink} settings to change this default.
@@ -348,7 +349,7 @@ export default class UserSettingsGeneralTab extends React.Component {
                 </div>
             );
 
-            let extraInfo = (
+            const extraInfo = (
                 <span>
                     Use Nickname for a name you might be called that is different from your first name and user name.
                     This is most often used when two or more people have similar sounding names and usernames.
@@ -405,7 +406,7 @@ export default class UserSettingsGeneralTab extends React.Component {
                 </div>
             );
 
-            let extraInfo = (<span>Pick something easy for teammates to recognize and recall.</span>);
+            const extraInfo = (<span>Pick something easy for teammates to recognize and recall.</span>);
 
             usernameSection = (
                 <SettingItemMax
-- 
cgit v1.2.3-1-g7c22

