Merged in chore/move-bookingwidget-to-parallel-route (pull request #2738)
chore: Render partner-sas BookingWidget in parallel route * Render BookingWidget in parallel route Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -36,6 +36,7 @@ type LangParams = {
|
||||
type RootLayoutProps = {
|
||||
children: React.ReactNode
|
||||
params: Promise<LangParams>
|
||||
bookingwidget: React.ReactNode
|
||||
}
|
||||
|
||||
export default async function RootLayout(props: RootLayoutProps) {
|
||||
@@ -90,6 +91,7 @@ export default async function RootLayout(props: RootLayoutProps) {
|
||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||
<h1>SAS</h1>
|
||||
</header>
|
||||
{props.bookingwidget}
|
||||
<main>{children}</main>
|
||||
</BookingFlowTrackingProvider>
|
||||
</BookingFlowContextProvider>
|
||||
|
||||
Reference in New Issue
Block a user