fix(SW-96): use import type
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user