Unverified Commit eec46f79 authored by Joram Wilander's avatar Joram Wilander Committed by GitHub
Browse files

Fix sign-up and team joining (#1131)

parent 2d690d4c
......@@ -107,7 +107,7 @@ export default class SelectTeam extends React.Component {
handleTeamClick = (team) => {
this.setState({loadingTeamId: team.id});
addUserToTeamFromInvite('', '', team.invite_id,
addUserToTeamFromInvite('', team.invite_id,
() => {
this.props.history.push(`/${team.name}/channels/town-square`);
},
......
......@@ -257,7 +257,6 @@ export default class SignupEmail extends React.Component {
};
createUserWithInvite(user,
this.state.data,
this.state.token,
this.state.inviteId,
this.handleSignupSuccess.bind(this, user),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment