Merged in feat/use-translations-overview-table (pull request #342)

fix: use translations for overview table

Approved-by: Christel Westerberg
This commit is contained in:
Matilda Landström
2024-07-12 07:04:20 +00:00
parent 801a041404
commit 4b4076675a
5 changed files with 19 additions and 12 deletions

View File

@@ -22,7 +22,9 @@ export default async function LoyaltyPage({ lang }: LangParams) {
<MaxWidth className={styles.blocks} tag="main">
<Title>{loyaltyPage.heading}</Title>
{loyaltyPage.blocks ? <Blocks blocks={loyaltyPage.blocks} /> : null}
{loyaltyPage.blocks ? (
<Blocks blocks={loyaltyPage.blocks} lang={lang} />
) : null}
</MaxWidth>
</section>
)