No need to set `loading={"lazy"}`
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m10s
Details
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m10s
Details
as react-photo-album has it in the props anyway
This commit is contained in:
parent
0a34124d7d
commit
297e7c570e
|
|
@ -22,7 +22,7 @@ export const ImageGallery = ({ images }: { images: ImageWithThumbnail[] }) => {
|
|||
photos={images}
|
||||
render={{
|
||||
image: (props, context) => (
|
||||
<img loading={"lazy"} {...props} src={context.photo.thumbnail} />
|
||||
<img {...props} src={context.photo.thumbnail} />
|
||||
),
|
||||
}}
|
||||
onClick={({ index }) => setIndex(index)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue