diff --git a/component/lib/PortableText.astro b/component/lib/PortableText.astro index b7894cf..c0b89eb 100644 --- a/component/lib/PortableText.astro +++ b/component/lib/PortableText.astro @@ -57,7 +57,7 @@ const { const components = mergeComponents( { - type: UnknownType, + type: {}, unknownType: UnknownType, block: { h1: Block, @@ -127,7 +127,7 @@ emitter.on("unknownList", (listItem: string) => { }); emitter.on("unknownListItem", (listItem: string) => { - missingComponentHandler(unknownListStyleWarning(listItem), { + missingComponentHandler(unknownListItemStyleWarning(listItem), { nodeType: NodeType.LIST_ITEM_STYLE, type: listItem, });