From 3f8545a4553a1f1e38a316e5c64ab6d8ff5dd556 Mon Sep 17 00:00:00 2001 From: Yauheni Date: Thu, 30 Nov 2023 10:33:31 +0100 Subject: [PATCH] Refactor routes --- src/ROUTES.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ROUTES.ts b/src/ROUTES.ts index 992c9598d4fc..a3aa28c44609 100644 --- a/src/ROUTES.ts +++ b/src/ROUTES.ts @@ -132,7 +132,7 @@ const ROUTES = { }, SETTINGS_NEW_CONTACT_METHOD: { route: 'settings/profile/contact-methods/new', - getRoute: (backTo?: string) => `${getUrlWithBackToParam('settings/profile/contact-methods/new', backTo)}`, + getRoute: (backTo?: string) => getUrlWithBackToParam('settings/profile/contact-methods/new', backTo), }, SETTINGS_2FA: { route: 'settings/security/two-factor-auth',