s/.done(/.then(/ since modern es6 track unhandled promise exceptions
This commit is contained in:
parent
0a21957b2c
commit
09a8fec261
43 changed files with 74 additions and 72 deletions
|
@ -253,7 +253,7 @@ module.exports = createReactClass({
|
|||
this.setState({
|
||||
busy: false,
|
||||
});
|
||||
}).done();
|
||||
}).then();
|
||||
},
|
||||
|
||||
onUsernameChanged: function(username) {
|
||||
|
@ -424,7 +424,7 @@ module.exports = createReactClass({
|
|||
this.setState({
|
||||
busy: false,
|
||||
});
|
||||
}).done();
|
||||
}).then();
|
||||
},
|
||||
|
||||
_isSupportedFlow: function(flow) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue