From 32f6c7af5ab90d5dda1a07cf79f7e9a6607b99fe Mon Sep 17 00:00:00 2001 From: mouazkh Date: Thu, 16 Apr 2026 22:49:15 +0300 Subject: [PATCH] fixed the api request --- app/components/admin/BookingRequests.js | 116 ++---------------------- 1 file changed, 9 insertions(+), 107 deletions(-) diff --git a/app/components/admin/BookingRequests.js b/app/components/admin/BookingRequests.js index 87f017e..85459b4 100644 --- a/app/components/admin/BookingRequests.js +++ b/app/components/admin/BookingRequests.js @@ -16,7 +16,6 @@ import { Shield, Phone, Mail, - MessageCircle, ChevronDown, ChevronUp, FileText, @@ -419,84 +418,6 @@ const ReasonDialog = ({ isOpen, onClose, onConfirm, title, defaultReason = '' }) ); }; -const DepositCommentDialog = ({ - isOpen, - request, - isSubmitting, - onClose, - onConfirm, -}) => { - const [comment, setComment] = useState(''); - - useEffect(() => { - if (!isOpen) { - setComment(''); - } - }, [isOpen, request?.id]); - - if (!isOpen || !request) return null; - - return ( - - e.stopPropagation()} - > -
-
- -
-

تأكيد العربون

-

- يمكنك إضافة تعليق اختياري، أو ترك الحقل فارغاً ليتم إرسال null. -

-
- -
-
رقم الحجز: #{request.id}
-
العقار: {request.property}
-
المستأجر: {request.user}
-
- -