feat(SW-791): make confirmation page dynamic
This commit is contained in:
@@ -143,3 +143,9 @@ export const getBreakfastPackages = cache(async function getMemoizedPackages(
|
||||
) {
|
||||
return serverClient().hotel.packages.breakfast(input)
|
||||
})
|
||||
|
||||
export const getBookingConfirmation = cache(
|
||||
function getMemoizedBookingConfirmation(confirmationNumber: string) {
|
||||
return serverClient().booking.confirmation({ confirmationNumber })
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user