mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
add lazy loading to images
This commit is contained in:
parent
1d067fb147
commit
297056151c
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ const NodeImageLazy: FC<NodeImageLazyProps> = ({
|
||||||
quality={quality}
|
quality={quality}
|
||||||
{...rest}
|
{...rest}
|
||||||
placeholder="empty"
|
placeholder="empty"
|
||||||
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue