Merged in chore/cleanup-scandic-web (pull request #2831)

chore: Cleanup scandic-web

* Remove unused files

* Remove unused and add missing packages

* Remove unused exports


Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-09-18 15:33:00 +00:00
parent cc99f26727
commit 08804e8675
113 changed files with 45 additions and 2891 deletions

View File

@@ -149,6 +149,7 @@ export function setFacilityCardGrids(
SidepeekSlugs.wellness,
wellnessTitle
)
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
facilities.findIndex((f) => f === facility) % 2 === 0
? grid.unshift(card)
: grid.push(card)
@@ -164,6 +165,7 @@ export function setFacilityCardGrids(
SidepeekSlugs.meetings,
MeetingsHeading.Default
)
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
facilities.findIndex((f) => f === facility) % 2 === 0
? grid.unshift(card)
: grid.push(card)
@@ -179,6 +181,7 @@ export function setFacilityCardGrids(
SidepeekSlugs.restaurant,
restaurantTitle
)
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
facilities.findIndex((f) => f === facility) % 2 === 0
? grid.unshift(card)
: grid.push(card)
@@ -214,7 +217,7 @@ function getRestaurantHeading(amenities: Amenities): RestaurantHeadings {
return RestaurantHeadings.breakfastRestaurant
}
export function getWellnessHeading(
function getWellnessHeading(
healthFacilities: HealthFacilities
): WellnessHeadings | undefined {
// For now return a generic message for all