fix(SW-302): remove comments

This commit is contained in:
Matilda Landström
2024-09-19 13:29:03 +02:00
parent 72c961eabf
commit 32c9e73ba9

View File

@@ -141,21 +141,12 @@ export function getRestaurantHeading(amenities: Amenities): RestaurantHeadings {
) )
const hasRestaurant = amenities.some((facility) => facility.id == 1383) // restaurant id const hasRestaurant = amenities.some((facility) => facility.id == 1383) // restaurant id
//let href,
let title: RestaurantHeadings
if (hasBar && hasRestaurant) { if (hasBar && hasRestaurant) {
//href = restaurantAndBar return RestaurantHeadings.restaurantAndBar
title = RestaurantHeadings.restaurantAndBar
} else if (hasBar) { } else if (hasBar) {
//href = bar return RestaurantHeadings.bar
title = RestaurantHeadings.bar
} else if (hasRestaurant) { } else if (hasRestaurant) {
//href = restaurant return RestaurantHeadings.restaurant
title = RestaurantHeadings.restaurant
} else {
//href = breakfastRestaurant
title = RestaurantHeadings.breakfastRestaurant
} }
return title return RestaurantHeadings.breakfastRestaurant
} }