fix(SW-188): use brackets for if body
This commit is contained in:
@@ -24,7 +24,9 @@ export default async function HotelPage() {
|
|||||||
language: lang,
|
language: lang,
|
||||||
include: ["RoomCategories"],
|
include: ["RoomCategories"],
|
||||||
})
|
})
|
||||||
if (!hotelData) return null
|
if (!hotelData) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
const { hotel, roomCategories } = hotelData
|
const { hotel, roomCategories } = hotelData
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user