Merged in fix/my-stay-bookingflowconfig-missing (pull request #3020)
fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set * fix: wrap MyStay component in BookingFlowConfig to handle RSC problem where config is not set Approved-by: Bianca Widstam
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import { BookingFlowConfig } from "@scandic-hotels/booking-flow/BookingFlowConfig"
|
||||
|
||||
import { bookingFlowConfig } from "@/constants/bookingFlowConfig"
|
||||
|
||||
import MyStay from "@/components/HotelReservation/MyStay"
|
||||
import { setLang } from "@/i18n/serverContext"
|
||||
|
||||
@@ -14,9 +18,9 @@ export default async function MyStayPage(
|
||||
const refId = searchParams.RefId
|
||||
|
||||
return (
|
||||
<>
|
||||
<BookingFlowConfig config={bookingFlowConfig}>
|
||||
<MyStay refId={refId} lang={params.lang} />
|
||||
<Tracking />
|
||||
</>
|
||||
</BookingFlowConfig>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user