diff --git a/js/component/file-actions.js b/js/component/file-actions.js index 0eab19dea..583d094d1 100644 --- a/js/component/file-actions.js +++ b/js/component/file-actions.js @@ -252,9 +252,11 @@ export let FileActions = React.createClass({ }); }, onFileInfoUpdate: function(fileInfo) { - this.setState({ - fileInfo: fileInfo, - }); + if (this.isMounted) { + this.setState({ + fileInfo: fileInfo, + }); + } }, componentDidMount: function() { this._isMounted = true;