diff --git a/app/[lang]/(live)/(protected)/my-pages/[...path]/page.tsx b/app/[lang]/(live)/(protected)/my-pages/[...path]/page.tsx index 3f140f10e..7d4eecf73 100644 --- a/app/[lang]/(live)/(protected)/my-pages/[...path]/page.tsx +++ b/app/[lang]/(live)/(protected)/my-pages/[...path]/page.tsx @@ -20,15 +20,19 @@ export default async function MyPages({ } const { tracking, accountPage } = accountPageRes + return ( -
- {accountPage.heading} - {accountPage.content.length ? ( - - ) : ( -

{formatMessage({ id: "No content published" })}

- )} + <> +
+ {accountPage.heading} + {accountPage.content.length ? ( + + ) : ( +

{formatMessage({ id: "No content published" })}

+ )} +
+ -
+ ) } diff --git a/components/ContentType/LoyaltyPage/LoyaltyPage.tsx b/components/ContentType/LoyaltyPage/LoyaltyPage.tsx index c4e0eb737..fc24f9df8 100644 --- a/components/ContentType/LoyaltyPage/LoyaltyPage.tsx +++ b/components/ContentType/LoyaltyPage/LoyaltyPage.tsx @@ -20,18 +20,21 @@ export default async function LoyaltyPage({ lang }: LangParams) { const { tracking, loyaltyPage } = loyaltyPageRes return ( -
- {loyaltyPage.sidebar.length ? ( - - ) : null} - - - {loyaltyPage.heading} - {loyaltyPage.blocks ? ( - + <> +
+ {loyaltyPage.sidebar.length ? ( + ) : null} - + + + {loyaltyPage.heading} + {loyaltyPage.blocks ? ( + + ) : null} + +
+ -
+ ) } diff --git a/components/ContentType/Webviews/AccountPage.tsx b/components/ContentType/Webviews/AccountPage.tsx index 5f3fc862b..570643513 100644 --- a/components/ContentType/Webviews/AccountPage.tsx +++ b/components/ContentType/Webviews/AccountPage.tsx @@ -25,10 +25,13 @@ export default async function MyPages({ lang }: LangParams) { const linkToOverview = `/${lang}/webview${accountPage.url}` !== overview[lang] return ( - - {linkToOverview ? : null} - + <> + + {linkToOverview ? : null} + + + - + ) } diff --git a/components/ContentType/Webviews/LoyaltyPage.tsx b/components/ContentType/Webviews/LoyaltyPage.tsx index d2e69dd86..4efa0eb1f 100644 --- a/components/ContentType/Webviews/LoyaltyPage.tsx +++ b/components/ContentType/Webviews/LoyaltyPage.tsx @@ -19,13 +19,16 @@ export default async function AboutScandicFriends({ lang }: LangParams) { const { tracking, loyaltyPage } = loyaltyPageRes return ( -
- - - {loyaltyPage.heading} - - + <> +
+ + + {loyaltyPage.heading} + + +
+ -
+ ) }