refactor: url management in hotel reservation flow

This commit is contained in:
Christel Westerberg
2025-01-13 14:26:38 +01:00
parent 23ff0970e9
commit b2935114e3
48 changed files with 407 additions and 418 deletions

View File

@@ -10,7 +10,7 @@ export function preload() {
export default async function BookingWidget({
type,
searchParams,
bookingWidgetSearchParams,
}: BookingWidgetProps) {
const locations = await getLocations()
const siteConfig = await getSiteConfig()
@@ -23,7 +23,7 @@ export default async function BookingWidget({
<BookingWidgetClient
locations={locations.data}
type={type}
searchParams={searchParams}
bookingWidgetSearchParams={bookingWidgetSearchParams}
/>
)
}