diff --git a/apps/web/components/listings/__tests__/listing-detail-client.spec.tsx b/apps/web/components/listings/__tests__/listing-detail-client.spec.tsx
index e635e68..9d0ed71 100644
--- a/apps/web/components/listings/__tests__/listing-detail-client.spec.tsx
+++ b/apps/web/components/listings/__tests__/listing-detail-client.spec.tsx
@@ -43,6 +43,11 @@ vi.mock('@/components/valuation/ai-estimate-button', () => ({
),
}));
+// Mock InquiryModal
+vi.mock('@/components/listings/inquiry-modal', () => ({
+ InquiryModal: () => null,
+}));
+
// Mock currency
vi.mock('@/lib/currency', () => ({
formatPrice: (price: string) => {
diff --git a/apps/web/components/listings/listing-detail-client.tsx b/apps/web/components/listings/listing-detail-client.tsx
index 141c61e..43186a8 100644
--- a/apps/web/components/listings/listing-detail-client.tsx
+++ b/apps/web/components/listings/listing-detail-client.tsx
@@ -5,6 +5,7 @@ import Link from 'next/link';
import * as React from 'react';
import { AddToCompareButton } from '@/components/comparison/add-to-compare-button';
import { ImageGallery } from '@/components/listings/image-gallery';
+import { InquiryModal } from '@/components/listings/inquiry-modal';
import { Badge } from '@/components/ui/badge';
import { Button } from '@/components/ui/button';
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
@@ -38,6 +39,7 @@ export function ListingDetailClient({ listing }: ListingDetailClientProps) {
const { property, seller, agent } = listing;
const transactionLabel = getLabel(TRANSACTION_TYPES, listing.transactionType);
const propertyTypeLabel = getLabel(PROPERTY_TYPES, property.propertyType);
+ const [inquiryOpen, setInquiryOpen] = React.useState(false);
return (
@@ -201,13 +203,21 @@ export function ListingDetailClient({ listing }: ListingDetailClientProps) {
Gọi ngay
-