From eea63c6e45b61eb2ed7cef901302fbade12257ec Mon Sep 17 00:00:00 2001 From: Tomas Chlebek Date: Thu, 19 Dec 2024 09:51:36 +0100 Subject: [PATCH] removed double slash in link after failed payment --- .../PaymentsInOrderSelect/paymentInOrderSelectUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storefront/components/PaymentsInOrderSelect/paymentInOrderSelectUtils.ts b/storefront/components/PaymentsInOrderSelect/paymentInOrderSelectUtils.ts index 19a386a2d7..1f80ff2cfd 100644 --- a/storefront/components/PaymentsInOrderSelect/paymentInOrderSelectUtils.ts +++ b/storefront/components/PaymentsInOrderSelect/paymentInOrderSelectUtils.ts @@ -48,7 +48,7 @@ export const useChangePaymentInOrder = () => { query: { orderNumber: editedOrder.number }, }); } else { - router.push(`${orderByHashUrl}/${editedOrder.urlHash}`); + router.push(orderByHashUrl + editedOrder.urlHash); } return changePaymentInOrderData;