Files
web/packages/booking-flow/lib/trpc/memoizedRequests/getBookingConfirmation.ts
Hrishikesh Vaipurkar a5790ee454 Merged in chore/SW-2878-extract-booking-confirmation-pag (pull request #2779)
Chore/SW-2878 extract booking confirmation pag

* chore(SW-2878): Moved booking confirmation page to booking-flow package

* chore(SW-2878): Fixed promo styles as per design

* chore(SW-2878): Kept tiny duplicate function to avoid export from booking-flow package


Approved-by: Anton Gunnarsson
2025-09-10 07:50:48 +00:00

11 lines
271 B
TypeScript

import { cache } from "react"
import { serverClient } from "../../trpc"
export const getBookingConfirmation = cache(
async function getMemoizedBookingConfirmation(refId: string) {
const caller = await serverClient()
return caller.booking.get({ refId })
}
)