From 948687e235399a9b92ab8c07c559a6db638de28b Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Tue, 17 Dec 2024 18:26:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20socials=20gdoc=20component?= =?UTF-8?q?=20enumeration=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/model/Gdoc/extractGdocComponentInfo.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/db/model/Gdoc/extractGdocComponentInfo.ts b/db/model/Gdoc/extractGdocComponentInfo.ts index 8c64d2d2ac..66b4c3c608 100644 --- a/db/model/Gdoc/extractGdocComponentInfo.ts +++ b/db/model/Gdoc/extractGdocComponentInfo.ts @@ -293,10 +293,7 @@ export function enumerateGdocComponentsWithoutChildren( .with({ type: "person" }, (person) => handleComponent( person, - [ - { prop: "text", iterator: iterateArrayProp }, - { prop: "socials", iterator: iterateArrayProp }, - ], + [{ prop: "text", iterator: iterateArrayProp }], parentPath, path ) @@ -350,7 +347,6 @@ export function enumerateGdocComponentsWithoutChildren( "homepage-search", "homepage-intro", "latest-data-insights", - "socials", "aside", "text", "heading",