This commit is contained in:
1 parent
cb47a5289d
commit
fd5c94254a
3 files changed
+8
-10
No files matched your search
@@ -2,7 +2,7 @@ import React, { useState } from 'react'
|
||||
import Lightbox from "yet-another-react-lightbox"
|
||||
import "yet-another-react-lightbox/styles.css"
|
||||
|
||||
const Gallery = ({ images }) => {
|
||||
const Gallery = ({ images = [] }) => {
|
||||
const [isOpen, setIsOpen] = useState(false)
|
||||
const [photoIndex, setPhotoIndex] = useState(0)
|
||||
|
||||
|
||||
Reference in new issue
Block a user