Merged in refactor/SW-2826-align-urls (pull request #3359)
refactor(SW-2826): align urls * refactor(SW-2826): align urls Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { membershipTermsAndConditions } from "@scandic-hotels/common/constants/routes/membershipTermsAndConditions"
|
||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
import Link from "@scandic-hotels/design-system/OldDSLink"
|
||||
import Subtitle from "@scandic-hotels/design-system/Subtitle"
|
||||
@@ -9,6 +8,7 @@ import { getIntl } from "@/i18n"
|
||||
import { getLang } from "@/i18n/serverContext"
|
||||
|
||||
import styles from "./readMore.module.css"
|
||||
import { scandicFriends } from "@scandic-hotels/common/constants/routes/myPages"
|
||||
|
||||
export default async function ReadMore() {
|
||||
const [intl, lang] = await Promise.all([getIntl(), getLang()])
|
||||
@@ -22,7 +22,7 @@ export default async function ReadMore() {
|
||||
}),
|
||||
},
|
||||
{
|
||||
href: membershipTermsAndConditions[lang],
|
||||
href: scandicFriends[lang],
|
||||
text: intl.formatMessage({
|
||||
id: "loyalty.membershipTermsAndConditions",
|
||||
defaultMessage: "Membership terms and conditions",
|
||||
|
||||
Reference in New Issue
Block a user