fix: avoid localizing currencies and default missing value to N/A

This commit is contained in:
Christel Westerberg
2025-01-07 15:48:44 +01:00
parent 5018cba623
commit a3331850a2
12 changed files with 22 additions and 68 deletions

View File

@@ -29,7 +29,7 @@ export type HotelPin = {
coordinates: Coordinates
publicPrice: number | null
memberPrice: number | null
currency: string | null
currency: string
images: {
imageSizes: ImageSizes
metaData: ImageMetaData

View File

@@ -1,9 +1,7 @@
import type { CurrencyEnum } from "@/types/enums/currency"
export interface SignupPromoProps {
memberPrice: {
amount: number
currency: CurrencyEnum
currency: string
}
badgeContent?: string
}