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