mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-02-13 16:13:24 +01:00
lazy load pack image tile img
This commit is contained in:
parent
6ba0da937b
commit
f4bf351743
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ export function ImageTile({
|
|||
className={css.ImagePackImage}
|
||||
src={mxcUrlToHttp(mx, image.url, useAuthentication) ?? ''}
|
||||
alt={image.shortcode}
|
||||
loading="lazy"
|
||||
/>
|
||||
}
|
||||
title={
|
||||
|
@ -163,6 +164,7 @@ export function ImageTileEdit({
|
|||
className={css.ImagePackImage}
|
||||
src={mxcUrlToHttp(mx, image.url, useAuthentication) ?? ''}
|
||||
alt={image.shortcode}
|
||||
loading="lazy"
|
||||
/>
|
||||
}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue