Merged in chore/sw-3474-remove-unused-booking-flow-exports (pull request #2858)

chore: (SW-3474): Remove unused exports from booking-flow

* Remove unused exports from booking-flow


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-09-24 07:48:24 +00:00
parent da55e37489
commit 490013be62
10 changed files with 16 additions and 20 deletions

View File

@@ -14,6 +14,8 @@ import type { VariantProps } from "class-variance-authority"
import type { BookingSearchType } from "../../misc/searchType"
import type { bookingWidgetVariants } from "./BookingWidgetForm/variants"
export { BookingWidgetSkeleton } from "./Skeleton"
export type GuestsRoom = {
adults: number
childrenInRoom: Child[]

View File

@@ -18,6 +18,8 @@ import type { Lang } from "@scandic-hotels/common/constants/language"
import type { NextSearchParams } from "../types"
export { SelectHotelSkeleton as AlternativeHotelsPageSkeleton } from "../components/SelectHotel"
export async function AlternativeHotelsPage({
lang,
searchParams,

View File

@@ -17,6 +17,8 @@ import type { Lang } from "@scandic-hotels/common/constants/language"
import type { NextSearchParams } from "../types"
export { SelectHotelSkeleton as SelectHotelPageSkeleton } from "../components/SelectHotel"
export async function SelectHotelPage({
lang,
searchParams,

View File

@@ -15,6 +15,8 @@ import type { Lang } from "@scandic-hotels/common/constants/language"
import type { NextSearchParams } from "../types"
export { SelectRateSkeleton as SelectRatePageSkeleton } from "../components/SelectRate"
const rateTypeRegex = {
ARB: /(^B[a-z]{3}\d{6}$)/,
VOUCHER: /(^VO[0-9a-z]*$)/,