s/setBusy/busyChanged/

This commit is contained in:
David Baker 2019-06-10 16:27:27 +01:00
parent cb4af9d043
commit db867d1a58

View file

@ -93,7 +93,7 @@ export default React.createClass({
this._authLogic = new InteractiveAuth({ this._authLogic = new InteractiveAuth({
authData: this.props.authData, authData: this.props.authData,
doRequest: this._requestCallback, doRequest: this._requestCallback,
setBusy: this._setBusy, busyChanged: this._onBusyChanged,
inputs: this.props.inputs, inputs: this.props.inputs,
stateUpdated: this._authStateUpdated, stateUpdated: this._authStateUpdated,
matrixClient: this.props.matrixClient, matrixClient: this.props.matrixClient,
@ -175,7 +175,7 @@ export default React.createClass({
return this.props.makeRequest(auth); return this.props.makeRequest(auth);
}, },
_setBusy: function(busy) { _onBusyChanged: function(busy) {
// if we've started doing stuff, reset the error messages // if we've started doing stuff, reset the error messages
if (busy) { if (busy) {
this.setState({ this.setState({