fix(SW-194): fix type imports
This commit is contained in:
@@ -11,6 +11,7 @@ import { getLang } from "@/i18n/serverContext"
|
||||
import styles from "./amenitiesList.module.css"
|
||||
|
||||
import type { AmenitiesListProps } from "@/types/components/hotelPage/amenities"
|
||||
import type { HotelData } from "@/types/hotel"
|
||||
|
||||
export default async function AmenitiesList({
|
||||
detailedFacilities,
|
||||
|
||||
@@ -11,10 +11,10 @@ import Title from "@/components/TempDesignSystem/Text/Title"
|
||||
import { getIntl } from "@/i18n"
|
||||
import { getLang } from "@/i18n/serverContext"
|
||||
|
||||
import { IntroSectionProps } from "./types"
|
||||
|
||||
import styles from "./introSection.module.css"
|
||||
|
||||
import type { IntroSectionProps } from "./types"
|
||||
|
||||
export default async function IntroSection({
|
||||
hotelName,
|
||||
hotelDescription,
|
||||
|
||||
@@ -10,7 +10,7 @@ import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
||||
|
||||
import styles from "./roomCard.module.css"
|
||||
|
||||
import type { RoomCardProps } from "@/types/components/hotelPage/roomCard"
|
||||
import type { RoomCardProps } from "@/types/components/hotelPage/room"
|
||||
|
||||
export function RoomCard({
|
||||
badgeTextTransKey,
|
||||
|
||||
@@ -14,7 +14,7 @@ import { RoomCard } from "./RoomCard"
|
||||
import styles from "./rooms.module.css"
|
||||
|
||||
import { HotelHashValues } from "@/types/components/hotelPage/tabNavigation"
|
||||
import type { RoomsProps } from "./types"
|
||||
import { RoomsProps } from "@/types/components/hotelPage/room"
|
||||
|
||||
export function Rooms({ rooms }: RoomsProps) {
|
||||
const intl = useIntl()
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
import { RoomData } from "@/types/hotel"
|
||||
|
||||
export type RoomsProps = {
|
||||
rooms: RoomData[]
|
||||
}
|
||||
Reference in New Issue
Block a user