fix: Added translated city name to meta title
Approved-by: Linus Flood Approved-by: Matilda Landström
This commit is contained in:
@@ -184,7 +184,11 @@ export const metadataQueryRouter = router({
|
||||
...hotelPageData,
|
||||
...(hotelData
|
||||
? {
|
||||
hotelData: hotelData.hotel,
|
||||
hotelData: {
|
||||
...hotelData.hotel,
|
||||
translatedCityName:
|
||||
hotelData.cities?.[0]?.name || hotelData.hotel.cityName,
|
||||
},
|
||||
additionalHotelData: hotelData.additionalData,
|
||||
hotelRestaurants: hotelData.restaurants,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user