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