diff --git a/app/[lang]/(live)/(public)/hotelreservation/[section]/page.tsx b/app/[lang]/(live)/(public)/hotelreservation/[section]/page.tsx index 666b9bbd3..0ad99c442 100644 --- a/app/[lang]/(live)/(public)/hotelreservation/[section]/page.tsx +++ b/app/[lang]/(live)/(public)/hotelreservation/[section]/page.tsx @@ -1,5 +1,3 @@ -import { notFound } from "next/navigation" - import { serverClient } from "@/lib/trpc/server" import tempHotelData from "@/server/routers/hotels/tempHotelData.json" @@ -165,7 +163,7 @@ export default async function SectionsPage({ header={intl.formatMessage({ id: "Your details" })} path={`details?${currentSearchParams}`} > - {params.section === "details" &&
} + {params.section === "details" &&
} Details TBI +import { DetailsProps } from "@/types/components/hotelReservation/selectRate/section" + +export default function Details({ nextPath }: DetailsProps) { + const searchParams = useSearchParams() + + return ( +
+
+ +
+
+ ) } diff --git a/types/components/hotelReservation/selectRate/section.ts b/types/components/hotelReservation/selectRate/section.ts index bec7f57e5..e64e51506 100644 --- a/types/components/hotelReservation/selectRate/section.ts +++ b/types/components/hotelReservation/selectRate/section.ts @@ -31,6 +31,8 @@ export interface RoomSelectionProps extends SectionProps { nrOfNights: number } +export interface DetailsProps extends SectionProps {} + export interface SectionPageProps { breakfast?: string bed?: string