summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-09-04 08:36:50 -0700
committernickago <ngonella@calpoly.edu>2015-09-04 08:36:50 -0700
commit18807dac42badce57db4a13be5ace2ba2093e8aa (patch)
tree0777d800765d62cfc169616d08b6ce581edecd67 /web/react
parent228ee859ffacc73835c92ea51432beca856bb21e (diff)
downloadchat-18807dac42badce57db4a13be5ace2ba2093e8aa.tar.gz
chat-18807dac42badce57db4a13be5ace2ba2093e8aa.tar.bz2
chat-18807dac42badce57db4a13be5ace2ba2093e8aa.zip
Added refactoring to pass style check
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/user_settings_general.jsx11
1 files changed, 6 insertions, 5 deletions
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