Merged in chore/eslint-curly-braces (pull request #3304)

Chore/eslint curly braces

* Add eslint rule for curly braces

* run eslint --fix for all files


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-12-08 07:56:21 +00:00
parent 5986828580
commit de4b3c1c3c
54 changed files with 139 additions and 104 deletions

View File

@@ -38,7 +38,7 @@ export default async function Home(props: PageArgs<LangParams>) {
<section className={styles.mainContent}>
<div className={styles.contentContainer}>
<section className={styles.bookingWidgetWrapper}>
<Typography variant={"Title/lg"}>
<Typography variant="Title/lg">
<h1 className={styles.heading}>
{intl.formatMessage({
id: "partnerSas.startPage.heading",
@@ -64,7 +64,7 @@ export default async function Home(props: PageArgs<LangParams>) {
defaultMessage:
"Collect new SAS EuroBonus points with your bookings.",
})}
theme={"SAS-Blue"}
theme="SAS-Blue"
icon={IconName.Diamond}
/>
<InfoBox
@@ -77,7 +77,7 @@ export default async function Home(props: PageArgs<LangParams>) {
defaultMessage:
"Then use your points to pay for your next Scandic stay!",
})}
theme={"SAS-Blue"}
theme="SAS-Blue"
icon={IconName.CreditCard}
/>
</section>

View File

@@ -64,9 +64,8 @@ export default function GlobalError({
<p>
<strong>
{
"While we're working hard to fix it, you can always give us a call:"
}
While we&apos;re working hard to fix it, you can always give us a
call:
</strong>
</p>