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 15:44:12 +00:00
parent 8360c112fb
commit 4661bb0942

View file

@ -94,7 +94,12 @@ module.exports = React.createClass({
if (payload.action !== "registration_step_update") { if (payload.action !== "registration_step_update") {
return; 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) { onFormSubmit: function(formVals) {