Add missing info to success page (#2680)
* Add missing info to success page * Remove console.logs * Add localized format to time
This commit is contained in:
1 parent
6fb301970b
commit
65a76b96c6
2 files changed
+60
-2
No files matched your search
@@ -109,7 +109,7 @@ const BookingPage = ({
|
||||
|
||||
const mutation = useMutation(createBooking, {
|
||||
onSuccess: async (responseData) => {
|
||||
const { attendees, paymentUid } = responseData;
|
||||
const { id, attendees, paymentUid } = responseData;
|
||||
if (paymentUid) {
|
||||
return await router.push(
|
||||
createPaymentLink({
|
||||
@@ -143,6 +143,7 @@ const BookingPage = ({
|
||||
email: attendees[0].email,
|
||||
location,
|
||||
eventName: profile.eventName || "",
|
||||
bookingId: id,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user