Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 4c0316b

Browse files
committed
fix: double slashes in confirmation redirect url
1 parent 8885fd0 commit 4c0316b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/ui/pages/reservation-unit/[...params].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ const ReservationUnitReservationWithReservationProp = ({
341341
state === ReservationsReservationStateChoices.Confirmed ||
342342
state === ReservationsReservationStateChoices.RequiresHandling
343343
) {
344-
router.push(`${reservationsUrl}/${pk}/confirmation`);
344+
router.push(`${reservationsUrl}${pk}/confirmation`);
345345
} else if (steps?.length > 2) {
346346
const order = data.confirmReservation?.order;
347347
const checkoutUrl = getCheckoutUrl(order ?? undefined, i18n.language);

0 commit comments

Comments
 (0)