chore: add missing translation (#25753)
This commit is contained in:
1 parent
0ecfd78e47
commit
da4fec9c27
2 files changed
+5
-1
No files matched your search
@@ -537,7 +537,10 @@ export const useBookings = ({ event, hashedLink, bookingForm, metadata, isBookin
|
||||
handleInstantBooking: (variables: Parameters<typeof createInstantBookingMutation.mutate>[0]) => {
|
||||
const remaining = getInstantCooldownRemainingMs(eventTypeId);
|
||||
if (remaining > 0) {
|
||||
showToast(t("please_try_again_later_or_book_another_slot"), "error");
|
||||
showToast(
|
||||
t("please_try_again_later_or_book_another_slot", { remaining: Math.ceil(remaining / 60000) }),
|
||||
"error"
|
||||
);
|
||||
return;
|
||||
}
|
||||
createInstantBookingMutation.mutate(variables);
|
||||
|
||||
Reference in new issue
Block a user