From 2f9b7e63f3eb76a76926e952470c01947da37a42 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 29 Sep 2025 01:57:40 +0000 Subject: [PATCH] Fix: Photo modal close button unresponsive --- src/components/moderation/PhotoModal.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/components/moderation/PhotoModal.tsx b/src/components/moderation/PhotoModal.tsx index 34cb89d1..26cc71c9 100644 --- a/src/components/moderation/PhotoModal.tsx +++ b/src/components/moderation/PhotoModal.tsx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { ChevronLeft, ChevronRight } from 'lucide-react'; +import { X, ChevronLeft, ChevronRight } from 'lucide-react'; import { Dialog, DialogContent } from '@/components/ui/dialog'; import { Button } from '@/components/ui/button'; @@ -37,6 +37,16 @@ export function PhotoModal({ photos, initialIndex, isOpen, onClose }: PhotoModal
+ {/* Close button */} + + {/* Header */}