Merged in feat/LOY-430-reward-nights (pull request #3295)
Feat/LOY-430 reward nights * chore(LOY-430): add reward nights request and dynamic content * chore(LOY-430): fix Reward Night component * Refactor: use existing endpoint and add rewardNight data to that response instead Approved-by: Linus Flood
This commit is contained in:
@@ -203,12 +203,10 @@ export const getHotelsByCityIdentifier = cache(
|
||||
})
|
||||
}
|
||||
)
|
||||
export const getDestinationsMapData = cache(
|
||||
async function getMemoizedDestinationsMapData() {
|
||||
const caller = await serverClient()
|
||||
return caller.hotel.hotels.getDestinationsMapData()
|
||||
}
|
||||
)
|
||||
export const getAllHotelData = cache(async function getMemoizedAllHotelData() {
|
||||
const caller = await serverClient()
|
||||
return caller.hotel.hotels.getAllHotelData()
|
||||
})
|
||||
export const getDestinationCityPage = cache(
|
||||
async function getMemoizedDestinationCityPage() {
|
||||
const caller = await serverClient()
|
||||
|
||||
Reference in New Issue
Block a user