about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/ui/components/image_loader.js
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-06-23 23:05:04 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-23 16:05:04 +0200
commiteff94164696ecb126ab47b85ee842e65692b649a (patch)
tree7cfb397d8d62e5d4ae96479505a74d1e15e41e00 /app/javascript/mastodon/features/ui/components/image_loader.js
parent6fbb3841a6dd4ec3d84b098437e35f41d41e8407 (diff)
Remove unused variables (#3906)
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/image_loader.js')
-rw-r--r--app/javascript/mastodon/features/ui/components/image_loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/image_loader.js b/app/javascript/mastodon/features/ui/components/image_loader.js
index a2514d6be..94bf55bad 100644
--- a/app/javascript/mastodon/features/ui/components/image_loader.js
+++ b/app/javascript/mastodon/features/ui/components/image_loader.js
@@ -41,7 +41,7 @@ class ImageLoader extends React.PureComponent {
 
   render() {
     const { alt, src, previewSrc, width, height } = this.props;
-    const { loading, error } = this.state;
+    const { loading } = this.state;
 
     return (
       <div className='image-loader'>