feat(SW-201): Refactoring how we fetch hotel page data
This commit is contained in:
@@ -66,6 +66,10 @@ export const getHotelData = cache(function getMemoizedHotelData(
|
||||
return serverClient().hotel.hotelData.get(props)
|
||||
})
|
||||
|
||||
export const getHotelPage = cache(async function getMemoizedHotelPage() {
|
||||
return serverClient().contentstack.hotelPage.get()
|
||||
})
|
||||
|
||||
export const getRoomsAvailability = cache(function getMemoizedRoomAvailability(
|
||||
args: GetRoomsAvailabilityInput
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user