Files
web/apps/partner-sas/app/[lang]/@bookingwidget/hotelreservation/[...paths]/loading.tsx
Anton Gunnarsson 490013be62 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
2025-09-24 07:48:24 +00:00

12 lines
470 B
TypeScript

import { BookingWidgetSkeleton } from "@scandic-hotels/booking-flow/BookingWidget"
// This file is crucial for displaying a loading
// state immediately in the booking flow.
// Next doesn't recognize manually added Suspense
// boundaries during page navigation (Server->Client)
// thus making it seem as the page is frozen during
// the time it takes for `BookingWidget` to resolve.
export default function BookingWidgetLoading() {
return <BookingWidgetSkeleton />
}