Merge pull request #116 from matrix-org/dbkr/no_reg_spinner

Don't show a spinner while we're waiting for the user to do something
This commit is contained in:
David Baker
2016-01-27 17:59:03 +00:00

View File

@@ -94,7 +94,12 @@ module.exports = React.createClass({
if (payload.action !== "registration_step_update") {
return;
}
this.forceUpdate(); // registration state has changed.
// If the registration state has changed, this means the
// user now needs to do something. It would be better
// to expose the explicitly in the register logic.
this.setState({
busy: false
});
},
onFormSubmit: function(formVals) {