From 4661bb09420e74255792dbfda9710a9230e8ea6d Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 27 Jan 2016 15:44:12 +0000 Subject: [PATCH] Don't show a spinner while we're waiting for the user to do something --- src/components/structures/login/Registration.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/structures/login/Registration.js b/src/components/structures/login/Registration.js index 7b2808c72a..5666318368 100644 --- a/src/components/structures/login/Registration.js +++ b/src/components/structures/login/Registration.js @@ -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) {