feat(SW-2686): MFA for modify guest details for authenticated user

This commit is contained in:
Michael Zetterberg
2025-05-09 10:30:31 +02:00
parent 44613624e5
commit 55ed8c51fd

View File

@@ -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 (