about summary refs log tree commit diff
path: root/app/javascript/mastodon/components/blurhash.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/blurhash.jsx')
-rw-r--r--app/javascript/mastodon/components/blurhash.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/blurhash.jsx b/app/javascript/mastodon/components/blurhash.jsx
index 2af5cfc56..07cd31b6c 100644
--- a/app/javascript/mastodon/components/blurhash.jsx
+++ b/app/javascript/mastodon/components/blurhash.jsx
@@ -44,6 +44,7 @@ function Blurhash({
       const ctx = canvas.getContext('2d');
       const imageData = new ImageData(pixels, width, height);
 
+      // @ts-expect-error
       ctx.putImageData(imageData, 0, 0);
     } catch (err) {
       console.error('Blurhash decoding failure', { err, hash });