diff --git a/components/ContentType/HotelPage/PreviewImages/index.tsx b/components/ContentType/HotelPage/PreviewImages/index.tsx index 2112fc886..3b17f0dc4 100644 --- a/components/ContentType/HotelPage/PreviewImages/index.tsx +++ b/components/ContentType/HotelPage/PreviewImages/index.tsx @@ -5,7 +5,7 @@ import { getIntl } from "@/i18n" import styles from "./previewImages.module.css" -import { PreviewImagesProps } from "@/types/components/hotelPage/previewImages" +import type { PreviewImagesProps } from "@/types/components/hotelPage/previewImages" export default async function PreviewImages({ images }: PreviewImagesProps) { const intl = await getIntl() diff --git a/components/ContentType/HotelPage/data.ts b/components/ContentType/HotelPage/data.ts index 7c5a30859..ace3a0408 100644 --- a/components/ContentType/HotelPage/data.ts +++ b/components/ContentType/HotelPage/data.ts @@ -3,7 +3,6 @@ import { FC } from "react" import { getIconByIconName } from "@/components/Icons/get-icon-by-icon-name" import { IconName, IconProps } from "@/types/components/icon" -import { ImageItem } from "@/types/components/lightbox/lightbox" const facilityToIconMap: { [key: string]: IconName } = { Bar: IconName.Bar, diff --git a/components/Lightbox/FullView.tsx b/components/Lightbox/FullView.tsx index 9e63dbf02..242627144 100644 --- a/components/Lightbox/FullView.tsx +++ b/components/Lightbox/FullView.tsx @@ -10,7 +10,7 @@ import Caption from "@/components/TempDesignSystem/Text/Caption" import styles from "./Lightbox.module.css" -import { FullViewProps } from "@/types/components/lightbox/lightbox" +import type { FullViewProps } from "@/types/components/lightbox/lightbox" export default function FullView({ image, diff --git a/components/Lightbox/Gallery.tsx b/components/Lightbox/Gallery.tsx index 22ac59c0b..1af22adcd 100644 --- a/components/Lightbox/Gallery.tsx +++ b/components/Lightbox/Gallery.tsx @@ -10,7 +10,7 @@ import Caption from "@/components/TempDesignSystem/Text/Caption" import styles from "./Lightbox.module.css" -import { GalleryProps } from "@/types/components/lightbox/lightbox" +import type { GalleryProps } from "@/types/components/lightbox/lightbox" export default function Gallery({ images, diff --git a/components/Lightbox/index.tsx b/components/Lightbox/index.tsx index 3ac645235..42ccc835f 100644 --- a/components/Lightbox/index.tsx +++ b/components/Lightbox/index.tsx @@ -8,7 +8,7 @@ import Gallery from "./Gallery" import styles from "./Lightbox.module.css" -import { LightboxProps } from "@/types/components/lightbox/lightbox" +import type { LightboxProps } from "@/types/components/lightbox/lightbox" export default function Lightbox({ images, children }: LightboxProps) { const [isOpen, setIsOpen] = useState(false) diff --git a/server/routers/utils/hotels.ts b/server/routers/utils/hotels.ts index ba05d20d1..b39f37545 100644 --- a/server/routers/utils/hotels.ts +++ b/server/routers/utils/hotels.ts @@ -1,5 +1,5 @@ -import { ImageItem } from "@/types/components/lightbox/lightbox" -import { Hotel } from "@/types/hotel" +import type { ImageItem } from "@/types/components/lightbox/lightbox" +import type { Hotel } from "@/types/hotel" export function extractHotelImages(hotelData: Hotel): ImageItem[] { const images: ImageItem[] = []