summaryrefslogtreecommitdiffstats
path: root/web/react/components/setting_item_max.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-03 13:37:25 -0700
committerCorey Hulen <corey@hulen.com>2015-09-03 13:37:25 -0700
commit4f0c06114b61c92d982baac1c54ed80da93a9cc9 (patch)
treefa949f1269931b4d62bddda23e26a5dcdff9ac14 /web/react/components/setting_item_max.jsx
parentb3fea25eddc332e9529692733093291b10d4aeef (diff)
parent570327463ca06c23b5b54b9ec93152535836f2c0 (diff)
downloadchat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.gz
chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.tar.bz2
chat-4f0c06114b61c92d982baac1c54ed80da93a9cc9.zip
Merge pull request #591 from mattermost/mm-1909
MM-1909 Upgrading ESLint, turning on new rules, enabling some warnings, optimizations
Diffstat (limited to 'web/react/components/setting_item_max.jsx')
-rw-r--r--web/react/components/setting_item_max.jsx17
1 files changed, 11 insertions, 6 deletions
diff --git a/web/react/components/setting_item_max.jsx b/web/react/components/setting_item_max.jsx
index 996b63873..b1bab1d48 100644
--- a/web/react/components/setting_item_max.jsx
+++ b/web/react/components/setting_item_max.jsx
@@ -20,11 +20,15 @@ export default class SettingItemMax extends React.Component {
var submit = '';
if (this.props.submit) {
- submit = (<a
- className='btn btn-sm btn-primary'
- href='#'
- onClick={this.props.submit}>
- Submit</a>);
+ submit = (
+ <a
+ className='btn btn-sm btn-primary'
+ href='#'
+ onClick={this.props.submit}
+ >
+ Submit
+ </a>
+ );
}
var inputs = this.props.inputs;
@@ -46,7 +50,8 @@ export default class SettingItemMax extends React.Component {
<a
className='btn btn-sm theme'
href='#'
- onClick={this.props.updateSection} >
+ onClick={this.props.updateSection}
+ >
Cancel
</a>
</li>