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() {