fix(SW-285): use correct prop name for section header

This commit is contained in:
Chuma McPhoy
2024-09-03 11:39:45 +02:00
parent ca156e5b7f
commit e96aacf60a
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export default function CardsGrid({
<SectionContainer>
<SectionHeader
title={cards_grid.title}
subtitle={cards_grid.preamble}
preamble={cards_grid.preamble}
topTitle={firstItem}
/>
<Grids.Stackable>

View File

@@ -53,7 +53,7 @@ export default function DynamicContent({
) : displayHeader ? (
<SectionHeader
link={dynamicContent.link}
subtitle={dynamicContent.subtitle}
preamble={dynamicContent.subtitle}
title={dynamicContent.title}
topTitle={firstItem}
/>