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:
@@ -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>
|
||||
|
||||
@@ -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" })}
|
||||
|
||||
Reference in New Issue
Block a user