From b8fdbfb10b3ea7830426618e1cca398e94722aa3 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 26 Jan 2026 23:59:10 +0100 Subject: [PATCH] lightbox --- components/Lightbox.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/components/Lightbox.tsx b/components/Lightbox.tsx index 914c8788..6f9f7b63 100644 --- a/components/Lightbox.tsx +++ b/components/Lightbox.tsx @@ -1,5 +1,4 @@ -/* eslint-disable-next-line @typescript-eslint/no-unused-expressions */ -`use client`; +'use client'; import React, { useEffect } from 'react'; import Image from 'next/image'; @@ -37,10 +36,10 @@ export default function Lightbox({ isOpen, images, initialIndex, onClose }: Ligh }; return ( -
+
-
+
{`Gallery -
+
{currentIndex + 1} / {images.length}