This commit is contained in:
@@ -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