diff options
author | Corey Hulen <corey@hulen.com> | 2015-09-03 13:37:25 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-09-03 13:37:25 -0700 |
commit | 4f0c06114b61c92d982baac1c54ed80da93a9cc9 (patch) | |
tree | fa949f1269931b4d62bddda23e26a5dcdff9ac14 /web/react/components/signup_team_complete.jsx | |
parent | b3fea25eddc332e9529692733093291b10d4aeef (diff) | |
parent | 570327463ca06c23b5b54b9ec93152535836f2c0 (diff) | |
download | chat-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/signup_team_complete.jsx')
-rw-r--r-- | web/react/components/signup_team_complete.jsx | 70 |
1 files changed, 42 insertions, 28 deletions
diff --git a/web/react/components/signup_team_complete.jsx b/web/react/components/signup_team_complete.jsx index 1d45548da..dc0d1d376 100644 --- a/web/react/components/signup_team_complete.jsx +++ b/web/react/components/signup_team_complete.jsx @@ -44,52 +44,66 @@ export default class SignupTeamComplete extends React.Component { } render() { if (this.state.wizard === 'welcome') { - return (<WelcomePage - state={this.state} - updateParent={this.updateParent} - />); + return ( + <WelcomePage + state={this.state} + updateParent={this.updateParent} + /> + ); } if (this.state.wizard === 'team_display_name') { - return (<TeamDisplayNamePage - state={this.state} - updateParent={this.updateParent} - />); + return ( + <TeamDisplayNamePage + state={this.state} + updateParent={this.updateParent} + /> + ); } if (this.state.wizard === 'team_url') { - return (<TeamURLPage - state={this.state} - updateParent={this.updateParent} - />); + return ( + <TeamURLPage + state={this.state} + updateParent={this.updateParent} + /> + ); } if (this.state.wizard === 'allowed_domains') { - return (<AllowedDomainsPage - state={this.state} - updateParent={this.updateParent} - />); + return ( + <AllowedDomainsPage + state={this.state} + updateParent={this.updateParent} + /> + ); } if (this.state.wizard === 'send_invites') { - return (<SendInivtesPage - state={this.state} - updateParent={this.updateParent} - />); + return ( + <SendInivtesPage + state={this.state} + updateParent={this.updateParent} + /> + ); } if (this.state.wizard === 'username') { - return (<UsernamePage - state={this.state} - updateParent={this.updateParent} - />); + return ( + <UsernamePage + state={this.state} + updateParent={this.updateParent} + /> + ); } if (this.state.wizard === 'password') { - return (<PasswordPage - state={this.state} - updateParent={this.updateParent} - />); + return ( + <PasswordPage + state={this.state} + updateParent={this.updateParent} + /> + ); } return (<div>You've already completed the signup process for this invitation or this invitation has expired.</div>); |