From 4b22c1f99cb05be5ca187f2fd70ee2664c34de57 Mon Sep 17 00:00:00 2001 From: Christopher Speller 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/new_channel.jsx | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'web/react/components/new_channel.jsx') diff --git a/web/react/components/new_channel.jsx b/web/react/components/new_channel.jsx index a02a4c1c0..1a11fc652 100644 --- a/web/react/components/new_channel.jsx +++ b/web/react/components/new_channel.jsx @@ -134,14 +134,16 @@ export default class NewChannelModal extends React.Component { ref='modal' tabIndex='-1' role='dialog' - aria-hidden='true'> + aria-hidden='true' + >
@@ -157,7 +159,8 @@ export default class NewChannelModal extends React.Component { ref='display_name' className='form-control' placeholder='Enter display name' - maxLength='22' /> + maxLength='22' + /> {displayNameError}
@@ -167,7 +170,8 @@ export default class NewChannelModal extends React.Component { className='form-control' ref='channel_name' placeholder="lowercase alphanumeric's only" - maxLength='22' /> + maxLength='22' + /> {nameError}
@@ -177,7 +181,8 @@ export default class NewChannelModal extends React.Component { ref='channel_desc' rows='3' placeholder='Description' - maxLength='1024' /> + maxLength='1024' + />
{serverError}
@@ -185,13 +190,15 @@ export default class NewChannelModal extends React.Component {
-- cgit v1.2.3-1-g7c22