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:
@@ -26,21 +26,21 @@ export default async function JoinLoyaltyContact({
|
||||
<section className={styles.joinLoyaltyContainer}>
|
||||
<article className={styles.wrapper}>
|
||||
{block.title ? (
|
||||
<Typography variant={"Title/Subtitle/md"}>
|
||||
<Typography variant="Title/Subtitle/md">
|
||||
<h4 className={styles.title}>{block.title}</h4>
|
||||
</Typography>
|
||||
) : null}
|
||||
<ScandicFriends color="red" />
|
||||
{block.preamble ? (
|
||||
<Typography variant={"Body/Paragraph/mdRegular"}>
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
<p className={styles.preamble}>{block.preamble}</p>
|
||||
</Typography>
|
||||
) : null}
|
||||
{block.button ? (
|
||||
<Typography variant={"Body/Paragraph/mdBold"}>
|
||||
<Typography variant="Body/Paragraph/mdBold">
|
||||
<ButtonLink
|
||||
className={styles.button}
|
||||
size={"Small"}
|
||||
size="Small"
|
||||
wrapping
|
||||
href={block.button.href}
|
||||
target={block.button.openInNewTab ? "_blank" : "_self"}
|
||||
@@ -50,7 +50,7 @@ export default async function JoinLoyaltyContact({
|
||||
</Typography>
|
||||
) : null}
|
||||
<section className={styles.loginContainer}>
|
||||
<Typography variant={"Body/Paragraph/mdRegular"}>
|
||||
<Typography variant="Body/Paragraph/mdRegular">
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
id: "loyalty.alreadyFriend",
|
||||
|
||||
Reference in New Issue
Block a user