You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
s/.done(/.then(/ since modern es6 track unhandled promise exceptions
This commit is contained in:
@@ -289,7 +289,7 @@ export default class MImageBody extends React.Component {
|
||||
this.setState({
|
||||
error: err,
|
||||
});
|
||||
}).done();
|
||||
}).then();
|
||||
}
|
||||
|
||||
// Remember that the user wanted to show this particular image
|
||||
|
||||
Reference in New Issue
Block a user