Merged in fix/SW-2462-room-availability-error (pull request #1920)

Fix/SW-2462 room availability error

* fix: added toast error when availability fails and you get redirect to select-rate

* fix: added support for showing alert when availability error happens

* fix: rename PaymentAlert -> BookingAlert


Approved-by: Erik Tiekstra
This commit is contained in:
Tobias Johansson
2025-05-02 08:35:29 +00:00
parent 862d4abbe3
commit bf79168216
6 changed files with 109 additions and 43 deletions

View File

@@ -12,6 +12,7 @@ import { setLang } from "@/i18n/serverContext"
import { getHotelSearchDetails } from "@/utils/hotelSearchDetails"
import { convertSearchParamsToObj } from "@/utils/url"
import AvailabilityError from "./AvailabilityError"
import { getValidDates } from "./getValidDates"
import { getTracking } from "./tracking"
@@ -90,6 +91,8 @@ export default async function SelectRatePage({
hotelInfo={hotelsTrackingData}
/>
</Suspense>
<AvailabilityError />
</>
)
}