You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03:00
s/.done(/.then(/ since modern es6 track unhandled promise exceptions
This commit is contained in:
@@ -639,7 +639,7 @@ export default createReactClass({
|
||||
title: _t('Error'),
|
||||
description: _t('Failed to upload image'),
|
||||
});
|
||||
}).done();
|
||||
}).then();
|
||||
},
|
||||
|
||||
_onJoinableChange: function(ev) {
|
||||
@@ -678,7 +678,7 @@ export default createReactClass({
|
||||
this.setState({
|
||||
avatarChanged: false,
|
||||
});
|
||||
}).done();
|
||||
}).then();
|
||||
},
|
||||
|
||||
_saveGroup: async function() {
|
||||
|
||||
Reference in New Issue
Block a user