Refactored various React components to use ES6 syntax and to match the style guide without any errors or warnings
Этот коммит содержится в:
@@ -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}
|
||||
/>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user