feat(SW-2686): MFA for modify guest details for authenticated user
This commit is contained in:
@@ -9,6 +9,7 @@ import { useIntl } from "react-intl"
|
|||||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||||
import { Typography } from "@scandic-hotels/design-system/Typography"
|
import { Typography } from "@scandic-hotels/design-system/Typography"
|
||||||
|
|
||||||
|
import { profileEdit } from "@/constants/routes/myPages"
|
||||||
import { trpc } from "@/lib/trpc/client"
|
import { trpc } from "@/lib/trpc/client"
|
||||||
|
|
||||||
import MembershipLevelIcon from "@/components/Levels/Icon"
|
import MembershipLevelIcon from "@/components/Levels/Icon"
|
||||||
@@ -125,7 +126,7 @@ export default function GuestDetails({
|
|||||||
expiry: expirationTime,
|
expiry: expirationTime,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
router.push(`/${lang}/scandic-friends/my-pages/profile/edit`)
|
router.push(profileEdit[lang])
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user