Browse Source

fix: 🐛

imwald
codytseng 10 months ago
parent
commit
86880af581
  1. 2
      src/components/ImageGallery/index.tsx

2
src/components/ImageGallery/index.tsx

@ -112,7 +112,7 @@ export default function ImageGallery({ @@ -112,7 +112,7 @@ export default function ImageGallery({
createPortal(
<div onClick={(e) => e.stopPropagation()}>
<Lightbox
index={start + index}
index={index}
slides={images.map(({ url }) => ({ src: url }))}
plugins={[Zoom]}
open={index >= 0}

Loading…
Cancel
Save