feat(SW-281): refactor type
This commit is contained in:
@@ -11,7 +11,7 @@ import { getIntl } from "@/i18n"
|
||||
|
||||
import styles from "./hotelListing.module.css"
|
||||
|
||||
import type { HotelListingProps } from "@/types/components/contentPage/hotelListing"
|
||||
import type { HotelListingItemProps } from "@/types/components/contentPage/hotelListingItem"
|
||||
|
||||
export default async function HotelListing({
|
||||
imageUrl,
|
||||
@@ -21,7 +21,7 @@ export default async function HotelListing({
|
||||
distanceToCentre,
|
||||
description,
|
||||
link,
|
||||
}: HotelListingProps) {
|
||||
}: HotelListingItemProps) {
|
||||
const intl = await getIntl()
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user