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 (