feat: SW-1583 Used constants for strings
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { notFound } from "next/navigation"
|
||||
|
||||
import { REDEMPTION } from "@/constants/booking"
|
||||
import { getLocations } from "@/lib/trpc/memoizedRequests"
|
||||
|
||||
import { generateChildrenString } from "@/components/HotelReservation/utils"
|
||||
@@ -106,6 +107,6 @@ export async function getHotelSearchDetails<
|
||||
childrenInRoomString,
|
||||
childrenInRoom,
|
||||
bookingCode: selectHotelParams.bookingCode ?? undefined,
|
||||
redemption: selectHotelParams.searchType === "redemption",
|
||||
redemption: selectHotelParams.searchType === REDEMPTION,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user