- {data.interests.slice(0, shownInterests).map((interest, key) => {
+ {section.interests.slice(0, shownInterests).map((interest, key) => {
return (
{interest.image.src && (
@@ -38,12 +43,12 @@ export function InterestsSection(props: PageSection): React.ReactElement {
);
})}
- {shouldShowButton && shownInterests < data.interests.length && (
+ {shouldShowButton && shownInterests < section.interests.length && (
)}