From 37a7caddbc3bd978b61182e7e7b17d2d79b00dd3 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:58:36 +0000 Subject: [PATCH] Fix: Remove redundant close button --- src/components/moderation/PhotoModal.tsx | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/moderation/PhotoModal.tsx b/src/components/moderation/PhotoModal.tsx index 26cc71c9..34cb89d1 100644 --- a/src/components/moderation/PhotoModal.tsx +++ b/src/components/moderation/PhotoModal.tsx @@ -1,5 +1,5 @@ import { useState } from 'react'; -import { X, ChevronLeft, ChevronRight } from 'lucide-react'; +import { ChevronLeft, ChevronRight } from 'lucide-react'; import { Dialog, DialogContent } from '@/components/ui/dialog'; import { Button } from '@/components/ui/button'; @@ -37,16 +37,6 @@ export function PhotoModal({ photos, initialIndex, isOpen, onClose }: PhotoModal
- {/* Close button */} - - {/* Header */}