summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/signup_team.jsx6
1 files changed, 0 insertions, 6 deletions
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});
}