1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Add .done() to catch exceptions which may be thrown in setState

This commit is contained in:
Kegan Dougal
2016-12-15 14:17:29 +00:00
parent 8f42134d9f
commit 8a511ed54b

View File

@@ -308,7 +308,7 @@ module.exports = React.createClass({
this.setState({ this.setState({
rejectingInvites: false rejectingInvites: false
}); });
}); }).done();
}, },
_renderUserInterfaceSettings: function() { _renderUserInterfaceSettings: function() {