mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 14:31:09 +02:00
Add .done() to catch exceptions which may be thrown in setState
This commit is contained in:
parent
8f42134d9f
commit
8a511ed54b
@ -308,7 +308,7 @@ module.exports = React.createClass({
|
||||
this.setState({
|
||||
rejectingInvites: false
|
||||
});
|
||||
});
|
||||
}).done();
|
||||
},
|
||||
|
||||
_renderUserInterfaceSettings: function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user