Merged in feat/sw-3604-webviews (pull request #3123)

feat(SW-3604): wrap mystay with bookingflowconfig

* feat(SW-3604): wrap mystay with bookingflowconfig


Approved-by: Joakim Jäderberg
This commit is contained in:
Linus Flood
2025-11-11 09:37:54 +00:00
parent 0490badbb1
commit ecb25cf6cd
3 changed files with 23 additions and 10 deletions

View File

@@ -1,7 +1,3 @@
import { BookingFlowConfig } from "@scandic-hotels/booking-flow/BookingFlowConfig"
import { bookingFlowConfig } from "@/constants/bookingFlowConfig"
import MyStay from "@/components/HotelReservation/MyStay"
import { setLang } from "@/i18n/serverContext"
@@ -18,9 +14,9 @@ export default async function MyStayPage(
const refId = searchParams.RefId
return (
<BookingFlowConfig config={bookingFlowConfig}>
<>
<MyStay refId={refId} lang={params.lang} />
<Tracking />
</BookingFlowConfig>
</>
)
}