fix(SW-302): remove comments
This commit is contained in:
@@ -141,21 +141,12 @@ export function getRestaurantHeading(amenities: Amenities): RestaurantHeadings {
|
||||
)
|
||||
const hasRestaurant = amenities.some((facility) => facility.id == 1383) // restaurant id
|
||||
|
||||
//let href,
|
||||
let title: RestaurantHeadings
|
||||
|
||||
if (hasBar && hasRestaurant) {
|
||||
//href = restaurantAndBar
|
||||
title = RestaurantHeadings.restaurantAndBar
|
||||
return RestaurantHeadings.restaurantAndBar
|
||||
} else if (hasBar) {
|
||||
//href = bar
|
||||
title = RestaurantHeadings.bar
|
||||
return RestaurantHeadings.bar
|
||||
} else if (hasRestaurant) {
|
||||
//href = restaurant
|
||||
title = RestaurantHeadings.restaurant
|
||||
} else {
|
||||
//href = breakfastRestaurant
|
||||
title = RestaurantHeadings.breakfastRestaurant
|
||||
return RestaurantHeadings.restaurant
|
||||
}
|
||||
return title
|
||||
return RestaurantHeadings.breakfastRestaurant
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user