Skip to content

Commit

Permalink
🐛 fix socials gdoc component enumeration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Dec 17, 2024
1 parent 0769513 commit 948687e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions db/model/Gdoc/extractGdocComponentInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -350,7 +347,6 @@ export function enumerateGdocComponentsWithoutChildren(
"homepage-search",
"homepage-intro",
"latest-data-insights",
"socials",
"aside",
"text",
"heading",
Expand Down

0 comments on commit 948687e

Please sign in to comment.