Add async decoding for lazy loaded images

This commit is contained in:
2022-05-23 12:08:05 +02:00
parent 53764abd74
commit 5b3fbb7ece

View File

@@ -80,5 +80,6 @@
height={imgHeight}
alt={alt}
loading={lazy ? 'lazy' : undefined}
decoding={lazy ? "async" : undefined}
/>
</picture>