Skip to content

Commit bf5984a

Browse files
committed
🐝 minor tweaks
1 parent f589d0e commit bf5984a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

db/model/Gdoc/extractGdocComponentInfo.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function convertSpansToPlainText(obj: any): any {
108108
return obj
109109
}
110110

111-
function handleComponent<T extends OwidEnrichedGdocBlock, S extends keyof T>(
111+
function handleComponent<T extends OwidEnrichedGdocBlock>(
112112
component: T,
113113
childProperties: {
114114
prop: keyof T
@@ -354,6 +354,7 @@ export function enumerateGdocComponentsWithoutChildren(
354354
"simple-text",
355355
"donors",
356356
"socials"
357+
// "narrative-chart" should go here once it's done
357358
),
358359
},
359360
(c) => handleComponent(c, [], parentPath, path)

0 commit comments

Comments
 (0)