diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-08-31 11:31:55 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-09-01 18:45:18 -0400 |
commit | 7d07bf6a79c9507b2178338464f7d28ce9a9a4ac (patch) | |
tree | fce94a47f975e845a913454e768f135df2a0e5ed /web/react/components/signup_team.jsx | |
parent | 72575ac7bdd5bfe7bd544ba238f8d1c0126635aa (diff) | |
download | chat-7d07bf6a79c9507b2178338464f7d28ce9a9a4ac.tar.gz chat-7d07bf6a79c9507b2178338464f7d28ce9a9a4ac.tar.bz2 chat-7d07bf6a79c9507b2178338464f7d28ce9a9a4ac.zip |
Refactored various React components to use ES6 syntax and to match the style guide without any errors or warnings
Diffstat (limited to 'web/react/components/signup_team.jsx')
-rw-r--r-- | web/react/components/signup_team.jsx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/web/react/components/signup_team.jsx b/web/react/components/signup_team.jsx index 13640b1e5..bf08e6508 100644 --- a/web/react/components/signup_team.jsx +++ b/web/react/components/signup_team.jsx @@ -1,10 +1,10 @@ // Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved. // See License.txt for license information. -var ChoosePage = require('./team_signup_choose_auth.jsx'); -var EmailSignUpPage = require('./team_signup_with_email.jsx'); -var SSOSignupPage = require('./team_signup_with_sso.jsx'); -var Constants = require('../utils/constants.jsx'); +const ChoosePage = require('./team_signup_choose_auth.jsx'); +const EmailSignUpPage = require('./team_signup_with_email.jsx'); +const SSOSignupPage = require('./team_signup_with_sso.jsx'); +const Constants = require('../utils/constants.jsx'); export default class TeamSignUp extends React.Component { constructor(props) { @@ -30,14 +30,14 @@ export default class TeamSignUp extends React.Component { return <EmailSignUpPage />; } else if (this.state.page === 'service' && this.state.service !== '') { return <SSOSignupPage service={this.state.service} />; - } else { - return ( - <ChoosePage - services={this.props.services} - updatePage={this.updatePage} - /> - ); } + + return ( + <ChoosePage + services={this.props.services} + updatePage={this.updatePage} + /> + ); } } |