Add async decoding for lazy loaded images
This commit is contained in:
@@ -80,5 +80,6 @@
|
|||||||
height={imgHeight}
|
height={imgHeight}
|
||||||
alt={alt}
|
alt={alt}
|
||||||
loading={lazy ? 'lazy' : undefined}
|
loading={lazy ? 'lazy' : undefined}
|
||||||
|
decoding={lazy ? "async" : undefined}
|
||||||
/>
|
/>
|
||||||
</picture>
|
</picture>
|
||||||
Reference in New Issue
Block a user