summaryrefslogtreecommitdiffstats
path: root/web/react/components/setting_item_max.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-03 10:49:36 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-03 15:00:47 -0400
commit4b22c1f99cb05be5ca187f2fd70ee2664c34de57 (patch)
treebfbaa7c5c849b6656eb8ea1267ce36028b0670b2 /web/react/components/setting_item_max.jsx
parente69e2db6b4724517a39c57e3689dec82608581ee (diff)
downloadchat-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/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 e67e458af..48c5f160d 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>