summaryrefslogtreecommitdiffstats
path: root/web/react/components/file_attachment.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-02-22 10:54:42 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2016-02-22 10:54:42 -0500
commit32ae72d91d31699899d5e2084cf7faa40c81e42c (patch)
tree7e5e2f7ed7a1d2edca368ca91bd8416336a6cedf /web/react/components/file_attachment.jsx
parent51680a7cd84661340cb727fea09b99d5350d9160 (diff)
parent4c92a1c1e35402730f74cf24a0c71729f4d0a676 (diff)
downloadchat-32ae72d91d31699899d5e2084cf7faa40c81e42c.tar.gz
chat-32ae72d91d31699899d5e2084cf7faa40c81e42c.tar.bz2
chat-32ae72d91d31699899d5e2084cf7faa40c81e42c.zip
Merge pull request #2208 from mattermost/client-upgrades
Updating some client deps + eslint
Diffstat (limited to 'web/react/components/file_attachment.jsx')
-rw-r--r--web/react/components/file_attachment.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/react/components/file_attachment.jsx b/web/react/components/file_attachment.jsx
index 776394828..810f90b13 100644
--- a/web/react/components/file_attachment.jsx
+++ b/web/react/components/file_attachment.jsx
@@ -245,7 +245,9 @@ class FileAttachment extends React.Component {
this.setState({fileSize: parseInt(data.size, 10), mime: data.mime});
}
}.bind(this),
- function error() {}
+ function error() {
+ // Do nothing
+ }
);
} else {
fileSizeString = utils.fileSizeToString(this.state.fileSize);
@@ -312,4 +314,4 @@ FileAttachment.propTypes = {
handleImageClick: React.PropTypes.func
};
-export default injectIntl(FileAttachment); \ No newline at end of file
+export default injectIntl(FileAttachment);