fix: rename trpc route for get booking

This commit is contained in:
Michael Zetterberg
2025-04-14 15:53:51 +02:00
parent 8a0b917824
commit af65fbf7f4
6 changed files with 17 additions and 25 deletions

View File

@@ -4,11 +4,9 @@ import type { RouterOutput } from "@/lib/trpc/client"
export interface AddToCalendarProps {
checkInDate: NonNullable<
RouterOutput["booking"]["confirmation"]
RouterOutput["booking"]["get"]
>["booking"]["checkInDate"]
event: EventAttributes
hotelName: NonNullable<
RouterOutput["booking"]["confirmation"]
>["hotel"]["name"]
hotelName: NonNullable<RouterOutput["booking"]["get"]>["hotel"]["name"]
renderButton: (onPress: () => Promise<void>) => React.ReactNode
}