From 08ce2bc338545f524ecc85ce846ae8241c04d003 Mon Sep 17 00:00:00 2001 From: Pontus Dreij Date: Fri, 7 Feb 2025 08:44:01 +0100 Subject: [PATCH] feat(SW-717) fixed type error after rebase --- components/HotelReservation/SelectRate/HotelInfoCard/utils.ts | 2 +- types/components/hotelReservation/selectRate/hotelInfoCard.ts | 1 - types/components/hotelReservation/selectRate/roomsContainer.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/HotelReservation/SelectRate/HotelInfoCard/utils.ts b/components/HotelReservation/SelectRate/HotelInfoCard/utils.ts index af24c3e66..1ce88b7c6 100644 --- a/components/HotelReservation/SelectRate/HotelInfoCard/utils.ts +++ b/components/HotelReservation/SelectRate/HotelInfoCard/utils.ts @@ -1,4 +1,4 @@ -import type { RoomsAvailability } from "@/server/routers/hotels/output" +import type { RoomsAvailability } from "@/types/trpc/routers/hotel/roomAvailability" export function combineRoomAvailabilities({ availabilityResults, diff --git a/types/components/hotelReservation/selectRate/hotelInfoCard.ts b/types/components/hotelReservation/selectRate/hotelInfoCard.ts index 78250822a..9fcbcb486 100644 --- a/types/components/hotelReservation/selectRate/hotelInfoCard.ts +++ b/types/components/hotelReservation/selectRate/hotelInfoCard.ts @@ -2,7 +2,6 @@ import type { Lang } from "@/constants/languages" import type { Child } from "./selectRate" export interface HotelInfoCardProps { - adultCount: number adultArray: number[] childArray?: Child[] fromDate: Date diff --git a/types/components/hotelReservation/selectRate/roomsContainer.ts b/types/components/hotelReservation/selectRate/roomsContainer.ts index a972bcd0c..3935c0cb8 100644 --- a/types/components/hotelReservation/selectRate/roomsContainer.ts +++ b/types/components/hotelReservation/selectRate/roomsContainer.ts @@ -2,7 +2,6 @@ import type { Lang } from "@/constants/languages" import type { Child } from "./selectRate" export interface RoomsContainerProps { - adultCount: number adultArray: number[] childArray?: Child[] fromDate: Date