Merged in fix/update-my-pages-sas-url (pull request #1533)

Update My Pages SAS url

* Update My Pages SAS url


Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-03-14 08:31:19 +00:00
parent fa63b20ed0
commit dabfe0424b
4 changed files with 12 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
import Link from "next/link"
import { useIntl } from "react-intl"
import { scandicXSAS } from "@/constants/routes/myPages"
import { partnerSas } from "@/constants/routes/myPages"
import ErrorCircleFilledIcon from "@/components/Icons/ErrorCircleFilled"
import Button from "@/components/TempDesignSystem/Button"
@@ -29,7 +29,7 @@ export function AlreadyLinkedError() {
})}
</Body>
<Button theme="base" asChild>
<Link href={scandicXSAS[lang]}>
<Link href={partnerSas[lang]}>
{intl.formatMessage({ id: "View your account" })}
</Link>
</Button>

View File

@@ -1,6 +1,6 @@
import React from "react"
import { scandicXSAS } from "@/constants/routes/myPages"
import { partnerSas } from "@/constants/routes/myPages"
import CheckCircle from "@/components/Icons/CheckCircle"
import { Redirect } from "@/components/Redirect"
@@ -19,7 +19,7 @@ export default async function SASxScandicLinkPage({
return (
<SASModal>
<Redirect url={scandicXSAS[params.lang]} timeout={3000} />
<Redirect url={partnerSas[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" })}