diff --git a/components/ContentType/HotelPage/PreviewImages/index.tsx b/components/ContentType/HotelPage/PreviewImages/index.tsx index d759c0524..7f0306217 100644 --- a/components/ContentType/HotelPage/PreviewImages/index.tsx +++ b/components/ContentType/HotelPage/PreviewImages/index.tsx @@ -5,17 +5,13 @@ import { getIntl } from "@/i18n" import styles from "./previewImages.module.css" -import { ImageItem } from "@/types/components/lightbox/lightbox" +import { PreviewImagesProps } from "@/types/components/hotelPage/previewImages" -export default async function PreviewImages({ - images, -}: { - images: ImageItem[] -}) { +export default async function PreviewImages({ images }: PreviewImagesProps) { const intl = await getIntl() return ( - {/*TODO: Replace with images from API once SW-189 is merged. */} + {/*TODO: Replace with images from API once SW-188 is merged. */}