From 0b967b2acb5d5dc2da4f18c20a1cc4f8d1c8d8b1 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Wed, 28 Oct 2015 08:58:27 -0700 Subject: Moving single team redirect to backend --- web/react/components/signup_team.jsx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'web/react') diff --git a/web/react/components/signup_team.jsx b/web/react/components/signup_team.jsx index 814ec2fc1..f926f5cbb 100644 --- a/web/react/components/signup_team.jsx +++ b/web/react/components/signup_team.jsx @@ -36,12 +36,6 @@ export default class TeamSignUp extends React.Component { } } - componentDidMount() { - if (global.window.mm_config.EnableTeamListing === 'true' && this.props.teams.length === 1) { - window.location.href = '/' + this.props.teams[0].name; - } - } - updatePage(page) { this.setState({page}); } -- cgit v1.2.3-1-g7c22