Merged in fix/sas-link-flow-links (pull request #1389)

Set correct links in SAS link flow

Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-02-21 12:26:38 +00:00
parent 15dbeb9d46
commit 204bbbbcd4
3 changed files with 24 additions and 9 deletions

View File

@@ -1,21 +1,25 @@
import React from "react"
import { scandicXSAS } from "@/constants/routes/myPages"
import CheckCircle from "@/components/Icons/CheckCircle"
import { Redirect } from "@/components/Redirect"
import Body from "@/components/TempDesignSystem/Text/Body"
import Title from "@/components/TempDesignSystem/Text/Title"
import { getIntl } from "@/i18n"
import { SASModal } from "../../components/SASModal"
export default async function SASxScandicLinkPage() {
import type { LangParams, PageArgs } from "@/types/params"
export default async function SASxScandicLinkPage({
params,
}: PageArgs<LangParams>) {
const intl = await getIntl()
return (
<SASModal>
{/* <Redirect
url={`INSERT CORRECT URL HERE`}
timeout={3000}
/> */}
<Redirect url={scandicXSAS[params.lang]} timeout={3000} />
<CheckCircle height={64} width={64} color="uiSemanticSuccess" />
<Title as="h2" level="h1" textAlign="center">
{intl.formatMessage({ id: "Your accounts are connected" })}