feat(SW-706): fix the build

The pinned version of @formatjs/swc-plugin-experimental has a bug in it that
doesn't allow it to parse ’. But we can't upgrade to the new version due to
incompatibilities between SWC and Next. We can upgrade once we move to Next 15.
This commit is contained in:
Michael Zetterberg
2025-04-10 07:06:41 +02:00
parent 5860377774
commit 35862d03f0

View File

@@ -157,7 +157,7 @@ export default function GuaranteeLateArrival({
{intl.formatMessage(
{
defaultMessage:
"By guaranteeing with any of the payment methods available, I accept the terms for this stay and the general <termsAndConditionsLink>Terms & Conditions</termsAndConditionsLink>, and understand Scandic will process my personal data for this stay in accordance with <privacyPolicyLink>Scandics Privacy Policy</privacyPolicyLink>. I accept Scandic requiring a valid credit card during my visit in case anything is left unpaid.",
"By guaranteeing with any of the payment methods available, I accept the terms for this stay and the general <termsAndConditionsLink>Terms & Conditions</termsAndConditionsLink>, and understand Scandic will process my personal data for this stay in accordance with <privacyPolicyLink>Scandic's Privacy Policy</privacyPolicyLink>. I accept Scandic requiring a valid credit card during my visit in case anything is left unpaid.",
},
{
termsAndConditionsLink: (str) => (