fix: startpage blocks now default to an array

This commit is contained in:
Christian Andolf
2025-02-06 08:49:49 +01:00
parent c622a65a8a
commit ced8dd5d99
3 changed files with 5 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ export default async function StartPage() {
) : null}
</header>
<main className={styles.main}>
{(blocks || []).map((block, index) => {
{blocks.map((block, index) => {
if (block.typename === BlocksEnums.block.FullWidthCampaign) {
return (
<FullWidthCampaign