diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx index 377bec4e2..a08773c36 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/index.tsx @@ -33,13 +33,8 @@ export default async function SelectRatePage({ if (!searchDetails?.hotel) { return notFound() } - const { - hotel, - adultsInRoom, - childrenInRoom, - selectHotelParams, - bookingCode, - } = searchDetails + const { hotel, adultsInRoom, childrenInRoom, selectHotelParams } = + searchDetails const { fromDate, toDate } = getValidDates( selectHotelParams.fromDate, diff --git a/apps/scandic-web/server/routers/hotels/query.ts b/apps/scandic-web/server/routers/hotels/query.ts index bf0d33811..4c10040f3 100644 --- a/apps/scandic-web/server/routers/hotels/query.ts +++ b/apps/scandic-web/server/routers/hotels/query.ts @@ -70,7 +70,6 @@ import type { HotelDataWithUrl } from "@/types/hotel" import type { HotelsAvailabilityInputSchema, HotelsByHotelIdsAvailabilityInputSchema, - RoomsAvailabilityInputSchema, } from "@/types/trpc/routers/hotel/availability" import type { HotelInput } from "@/types/trpc/routers/hotel/hotel" import type { CityLocation } from "@/types/trpc/routers/hotel/locations" diff --git a/apps/scandic-web/types/trpc/routers/hotel/availability.ts b/apps/scandic-web/types/trpc/routers/hotel/availability.ts index aac9ba84f..ad59e9e2f 100644 --- a/apps/scandic-web/types/trpc/routers/hotel/availability.ts +++ b/apps/scandic-web/types/trpc/routers/hotel/availability.ts @@ -3,7 +3,6 @@ import type { z } from "zod" import type { getHotelsByHotelIdsAvailabilityInputSchema, hotelsAvailabilityInputSchema, - roomsAvailabilityInputSchema, } from "@/server/routers/hotels/input" import type { hotelsAvailabilitySchema } from "@/server/routers/hotels/output" import type { productTypeSchema } from "@/server/routers/hotels/schemas/availability/productType" @@ -16,9 +15,6 @@ export type HotelsAvailabilityInputSchema = z.output< export type HotelsByHotelIdsAvailabilityInputSchema = z.output< typeof getHotelsByHotelIdsAvailabilityInputSchema > -export type RoomsAvailabilityInputSchema = z.output< - typeof roomsAvailabilityInputSchema -> export type ProductType = z.output export type ProductTypePrices = z.output