fix: 🐛

This commit is contained in:
codytseng
2025-05-07 11:04:49 +08:00
parent 60fca48a72
commit 86880af581

View File

@@ -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}