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:
@@ -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[]
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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]*$)/,
|
||||
|
||||
Reference in New Issue
Block a user