Merged in fix/sw-3551-rsc-bookingflowconfig (pull request #2988)
fix(SW-3551): Fix issue with BookingConfigProvider in RSC * wip move config to pages * Move config providing to pages
This commit is contained in:
@@ -4,6 +4,7 @@ import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||
import { TrackingSDK } from "@scandic-hotels/tracking/TrackingSDK"
|
||||
import { BlocksEnums } from "@scandic-hotels/trpc/types/blocksEnum"
|
||||
|
||||
import { bookingFlowConfig } from "@/constants/bookingFlowConfig"
|
||||
import { getStartPage } from "@/lib/trpc/memoizedRequests"
|
||||
|
||||
import Blocks from "@/components/Blocks"
|
||||
@@ -36,7 +37,11 @@ export default async function StartPage({
|
||||
<h1>{header.heading}</h1>
|
||||
</Typography>
|
||||
) : null}
|
||||
<FloatingBookingWidget booking={booking} lang={lang} />
|
||||
<FloatingBookingWidget
|
||||
booking={booking}
|
||||
lang={lang}
|
||||
config={bookingFlowConfig}
|
||||
/>
|
||||
</div>
|
||||
{header.hero_image ? (
|
||||
<Image
|
||||
|
||||
Reference in New Issue
Block a user