fix(946) Center from town name instead of calculate center
This commit is contained in:
@@ -158,3 +158,9 @@ export const getBookingConfirmation = cache(
|
||||
return serverClient().booking.confirmation({ confirmationNumber })
|
||||
}
|
||||
)
|
||||
|
||||
export const getCityCoordinates = cache(
|
||||
async function getMemoizedCityCoordinates(input: { city: string }) {
|
||||
return serverClient().hotel.map.get(input)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user