From 55ed8c51fda1d19bff43d6586359b003f15c5cd3 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Fri, 9 May 2025 10:30:31 +0200 Subject: [PATCH] feat(SW-2686): MFA for modify guest details for authenticated user --- .../components/HotelReservation/MyStay/GuestDetails/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx index 0f17411a5..705376d2d 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx @@ -9,6 +9,7 @@ import { useIntl } from "react-intl" import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" +import { profileEdit } from "@/constants/routes/myPages" import { trpc } from "@/lib/trpc/client" import MembershipLevelIcon from "@/components/Levels/Icon" @@ -125,7 +126,7 @@ export default function GuestDetails({ expiry: expirationTime, }) ) - router.push(`/${lang}/scandic-friends/my-pages/profile/edit`) + router.push(profileEdit[lang]) } return (