s/.done(/.then(/ since modern es6 track unhandled promise exceptions
This commit is contained in:
@@ -112,7 +112,7 @@ module.exports = createReactClass({
|
||||
}
|
||||
});
|
||||
|
||||
httpPromise.done(function() {
|
||||
httpPromise.then(function() {
|
||||
self.setState({
|
||||
phase: self.Phases.Display,
|
||||
avatarUrl: MatrixClientPeg.get().mxcUrlToHttp(newUrl),
|
||||
|
||||
Reference in New Issue
Block a user