Merged in feature/SW-3457-enter-details-on-sas (pull request #2792)
Add enter-details page to SAS * Add enter-details page to SAS Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
export default async function DetailsPage() {
|
||||
// eslint-disable-next-line formatjs/no-literal-string-in-jsx
|
||||
return <div>details</div>
|
||||
import { EnterDetailsPage as EnterDetailsPagePrimitive } from "@scandic-hotels/booking-flow/pages/EnterDetailsPage"
|
||||
|
||||
import type { LangParams, PageArgs } from "@/types/params"
|
||||
|
||||
export default async function DetailsPage(props: PageArgs<LangParams>) {
|
||||
const { lang } = await props.params
|
||||
const searchParams = await props.searchParams
|
||||
|
||||
return <EnterDetailsPagePrimitive lang={lang} searchParams={searchParams} />
|
||||
}
|
||||
|
||||
1
apps/partner-sas/global.d.ts
vendored
1
apps/partner-sas/global.d.ts
vendored
@@ -2,3 +2,4 @@ import "@scandic-hotels/common/global.d.ts"
|
||||
import "@scandic-hotels/trpc/types.d.ts"
|
||||
import "@scandic-hotels/trpc/auth.d.ts"
|
||||
import "@scandic-hotels/trpc/jwt.d.ts"
|
||||
import "@scandic-hotels/booking-flow/global.d.ts"
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
"./contexts/SelectRate/Room": "./lib/contexts/SelectRate/Room.ts",
|
||||
"./contexts/SelectRate/SelectRateContext": "./lib/contexts/SelectRate/SelectRateContext.tsx",
|
||||
"./contexts/SelectRate/types": "./lib/contexts/SelectRate/types.ts",
|
||||
"./global.d.ts": "./global.d.ts",
|
||||
"./hooks/useHandleBookingStatus": "./lib/hooks/useHandleBookingStatus.ts",
|
||||
"./hooks/useSearchHistory": "./lib/hooks/useSearchHistory.ts",
|
||||
"./pages/*": "./lib/pages/*.tsx",
|
||||
@@ -65,18 +66,15 @@
|
||||
"./stores/enter-details": "./lib/stores/enter-details/index.ts",
|
||||
"./stores/enter-details/types": "./lib/stores/enter-details/types.ts",
|
||||
"./stores/hotels-map": "./lib/stores/hotels-map.ts",
|
||||
"./stores/booking-confirmation": "./lib/stores/booking-confirmation/index.ts",
|
||||
"./types/components/bookingConfirmation/bookingConfirmation": "./lib/types/components/bookingConfirmation/bookingConfirmation.ts",
|
||||
"./types/components/findMyBooking/additionalInfoCookieValue": "./lib/types/components/findMyBooking/additionalInfoCookieValue.ts",
|
||||
"./types/components/promo/promoProps": "./lib/types/components/promo/promoProps.ts",
|
||||
"./types/components/selectRate/selectRate": "./lib/types/components/selectRate/selectRate.ts",
|
||||
"./types/stores/rates": "./lib/types/stores/rates.ts",
|
||||
"./types/components/selectRate/selectRate": "./lib/types/components/selectRate/selectRate.ts",
|
||||
"./types/membershipFailedError": "./lib/types/membershipFailedError.ts",
|
||||
"./types/stores/booking-confirmation": "./lib/types/stores/booking-confirmation.ts",
|
||||
"./utils/getRoomFeatureDescription": "./lib/utils/getRoomFeatureDescription.ts",
|
||||
"./types/stores/rates": "./lib/types/stores/rates.ts",
|
||||
"./utils/calculateRegularPrice": "./lib/utils/calculateRegularPrice.ts",
|
||||
"./utils/getRoomFeatureDescription": "./lib/utils/getRoomFeatureDescription.ts",
|
||||
"./utils/isSameBooking": "./lib/utils/isSameBooking.ts",
|
||||
"./utils/nuqs": "./lib/utils/nuqs.ts",
|
||||
"./utils/SelectRate": "./lib/utils/SelectRate/index.tsx",
|
||||
|
||||
Reference in New Issue
Block a user