feat: performance improvements
This commit is contained in:
@@ -31,9 +31,7 @@ export default async function HotelPage() {
|
||||
const lang = getLang()
|
||||
const googleMapsApiKey = env.GOOGLE_STATIC_MAP_KEY
|
||||
const googleMapId = env.GOOGLE_DYNAMIC_MAP_ID
|
||||
const hotelData = await serverClient().hotel.get({
|
||||
include: ["RoomCategories"],
|
||||
})
|
||||
const hotelData = await serverClient().hotel.get()
|
||||
if (!hotelData) {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user