From 297e7c570e7724a23bbc04067b97fdfae3262c63 Mon Sep 17 00:00:00 2001 From: Stefan Forstenlechner Date: Wed, 21 Aug 2024 23:24:53 +0200 Subject: [PATCH] No need to set `loading={"lazy"}` as react-photo-album has it in the props anyway --- picture-gallery-client/src/ImageGallery/ImageGallery.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picture-gallery-client/src/ImageGallery/ImageGallery.tsx b/picture-gallery-client/src/ImageGallery/ImageGallery.tsx index 6bee6e6..b373faa 100644 --- a/picture-gallery-client/src/ImageGallery/ImageGallery.tsx +++ b/picture-gallery-client/src/ImageGallery/ImageGallery.tsx @@ -22,7 +22,7 @@ export const ImageGallery = ({ images }: { images: ImageWithThumbnail[] }) => { photos={images} render={{ image: (props, context) => ( - + ), }} onClick={({ index }) => setIndex(index)}