fix: cache hotel response
This commit is contained in:
@@ -9,6 +9,7 @@ import type {
|
||||
} from "@/types/components/hotelReservation/enterDetails/details"
|
||||
import { RoomPackageCodeEnum } from "@/types/components/hotelReservation/selectRate/roomFilter"
|
||||
import type { SelectRateSearchParams } from "@/types/components/hotelReservation/selectRate/selectRate"
|
||||
import { CurrencyEnum } from "@/types/enums/currency"
|
||||
import { PackageTypeEnum } from "@/types/enums/packages"
|
||||
import type { RoomPrice, RoomRate } from "@/types/stores/enter-details"
|
||||
|
||||
@@ -47,12 +48,12 @@ export const roomRate: RoomRate = {
|
||||
localPrice: {
|
||||
pricePerNight: 1508,
|
||||
pricePerStay: 1508,
|
||||
currency: "SEK",
|
||||
currency: CurrencyEnum.SEK,
|
||||
},
|
||||
requestedPrice: {
|
||||
pricePerNight: 132,
|
||||
pricePerStay: 132,
|
||||
currency: "EUR",
|
||||
currency: CurrencyEnum.EUR,
|
||||
},
|
||||
},
|
||||
publicRate: {
|
||||
@@ -60,12 +61,12 @@ export const roomRate: RoomRate = {
|
||||
localPrice: {
|
||||
pricePerNight: 1525,
|
||||
pricePerStay: 1525,
|
||||
currency: "SEK",
|
||||
currency: CurrencyEnum.SEK,
|
||||
},
|
||||
requestedPrice: {
|
||||
pricePerNight: 133,
|
||||
pricePerStay: 133,
|
||||
currency: "EUR",
|
||||
currency: CurrencyEnum.EUR,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user