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/signup_team_complete.jsx | 70 ++++++++++++++++----------- 1 file changed, 42 insertions(+), 28 deletions(-) (limited to 'web/react/components/signup_team_complete.jsx') 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 (); + return ( + + ); } if (this.state.wizard === 'team_display_name') { - return (); + return ( + + ); } if (this.state.wizard === 'team_url') { - return (); + return ( + + ); } if (this.state.wizard === 'allowed_domains') { - return (); + return ( + + ); } if (this.state.wizard === 'send_invites') { - return (); + return ( + + ); } if (this.state.wizard === 'username') { - return (); + return ( + + ); } if (this.state.wizard === 'password') { - return (); + return ( + + ); } return (
You've already completed the signup process for this invitation or this invitation has expired.
); -- cgit v1.2.3-1-g7c22