fix: clean up hotel and its typings
This commit is contained in:
@@ -22,8 +22,9 @@ export default async function BookingConfirmation({
|
||||
confirmationNumber,
|
||||
}: BookingConfirmationProps) {
|
||||
const lang = getLang()
|
||||
const { booking, hotel, room } =
|
||||
await getBookingConfirmation(confirmationNumber)
|
||||
const { booking, hotel, room } = await getBookingConfirmation(
|
||||
confirmationNumber
|
||||
)
|
||||
|
||||
const arrivalDate = new Date(booking.checkInDate)
|
||||
const departureDate = new Date(booking.checkOutDate)
|
||||
|
||||
Reference in New Issue
Block a user