From 62a96d3841a6ea5aa5c9fef3dbea40e2adf28a7c Mon Sep 17 00:00:00 2001 From: Daniel Rosel Date: Sun, 23 Nov 2025 18:44:10 +0100 Subject: [PATCH] fixing changes of imports --- web/src/components/feats/hotel/HotelCard.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/web/src/components/feats/hotel/HotelCard.tsx b/web/src/components/feats/hotel/HotelCard.tsx index c75c9f6..f5c3f84 100644 --- a/web/src/components/feats/hotel/HotelCard.tsx +++ b/web/src/components/feats/hotel/HotelCard.tsx @@ -1,6 +1,7 @@ 'use client'; import type { EventName } from '@/lib/events'; +import type { Hotel } from '@/lib/hotel-utils'; import { useHoverTracking } from '@/hooks/useHoverTracking'; import PriceDisplay from '@/components/ui/PriceDisplay'; @@ -11,18 +12,6 @@ const dispatchInteraction = (eventName: EventName, productId?: string, metadata? document.dispatchEvent(e); }; -interface Hotel { - id: string; - name: string; - roomType: string; - checkIn: string; - checkOut: string; - amenities: string[]; - refundable: boolean; - pricePerNight: number; - nights: number; -} - const AmenityIcon = ({ name }: { name: string }) => { const iconMap: Record = { wifi: 'Wi-Fi',