Skip to content

Commit

Permalink
Update getPageProps.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joyponader authored Jul 10, 2024
1 parent ba2e2fc commit aa13df1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions utils/getPageProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ type FetchedSectionData = {
includeAgs?: string[];
excludeAgs?: string[];
hasHero: boolean;
heroHTML?: string;
heroTitle?: string;
heroImage?: string;
elements: FetchedElement[];
Expand All @@ -88,7 +87,6 @@ const sectionFields = [
'anchor',
'colorScheme',
'hasHero',
'heroHTML',
'heroTitle',
'heroImage',
];
Expand Down Expand Up @@ -263,7 +261,6 @@ const updatePageStructure = (
includeAgs: section.item.includeAgs || [],
excludeAgs: section.item.excludeAgs || [],
hasHero: section.item.hasHero,
heroHTML: section.item.heroHTML,
heroTitle: section.item.heroTitle,
heroImage: section.item.heroImage,
render: section.item.elements
Expand Down

0 comments on commit aa13df1

Please sign in to comment.