feat(SW-914): import type
This commit is contained in:
@@ -6,7 +6,7 @@ import ParkingPrices from "./ParkingPrices"
|
|||||||
|
|
||||||
import styles from "./parkingAmenity.module.css"
|
import styles from "./parkingAmenity.module.css"
|
||||||
|
|
||||||
import { ParkingAmenityProps } from "@/types/components/hotelPage/sidepeek/parking"
|
import type { ParkingAmenityProps } from "@/types/components/hotelPage/sidepeek/parking"
|
||||||
import { IconName } from "@/types/components/icon"
|
import { IconName } from "@/types/components/icon"
|
||||||
|
|
||||||
export default async function ParkingAmenity({ parking }: ParkingAmenityProps) {
|
export default async function ParkingAmenity({ parking }: ParkingAmenityProps) {
|
||||||
@@ -53,10 +53,10 @@ export default async function ParkingAmenity({ parking }: ParkingAmenityProps) {
|
|||||||
currency={data.pricing.localCurrency.currency}
|
currency={data.pricing.localCurrency.currency}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Body color="uiTextMediumContrast">
|
|
||||||
{intl.formatMessage({ id: "Weekday" })}
|
|
||||||
</Body>
|
|
||||||
<div>
|
<div>
|
||||||
|
<Body color="uiTextMediumContrast">
|
||||||
|
{intl.formatMessage({ id: "Weekday" })}
|
||||||
|
</Body>
|
||||||
<ParkingPrices
|
<ParkingPrices
|
||||||
data={data.pricing.localCurrency.weekend}
|
data={data.pricing.localCurrency.weekend}
|
||||||
currency={data.pricing.localCurrency.currency}
|
currency={data.pricing.localCurrency.currency}
|
||||||
|
|||||||
Reference in New Issue
Block a user