feat: allow direct access to my stay from booking confirmation

This commit is contained in:
Michael Zetterberg
2025-05-06 09:26:02 +02:00
parent 41e5ce25b2
commit 35a2ae9dcc
7 changed files with 32 additions and 23 deletions
@@ -1,3 +1,4 @@
export interface ManageBookingProps {
bookingUrl: string
}
import type { BookingConfirmation } from "@/types/trpc/routers/booking/confirmation"
export interface ManageBookingProps
extends Pick<BookingConfirmation, "booking"> {}
@@ -16,7 +16,6 @@ export interface BookingConfirmationRoom extends Room {
export interface ConfirmationProps
extends Pick<BookingConfirmation, "booking" | "hotel"> {
room: BookingConfirmationRoom
refId: string
}
export interface BookingConfirmationAlertsProps {
@@ -5,5 +5,4 @@ import type { BookingConfirmation } from "@/types/trpc/routers/booking/confirmat
export interface BookingConfirmationHeaderProps
extends Pick<BookingConfirmation, "booking" | "hotel"> {
mainRef: MutableRefObject<HTMLElement | null>
refId: string
}