updated
Some checks failed
My Gatsby Deployment pipeline / build (push) Failing after 1m48s

This commit is contained in:
2025-03-15 23:19:52 +01:00
parent cb47a5289d
commit fd5c94254a
3 changed files with 8 additions and 10 deletions

View File

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