From 9e5c5af3ce8bef46e78260e3de3f886154f2130a Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Mon, 6 Feb 2023 16:33:27 -0500 Subject: [PATCH] fix: component render bug --- examples/with-markdoc/src/renderer/astroNode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/with-markdoc/src/renderer/astroNode.ts b/examples/with-markdoc/src/renderer/astroNode.ts index 4d4acb817..7e8b23ce4 100644 --- a/examples/with-markdoc/src/renderer/astroNode.ts +++ b/examples/with-markdoc/src/renderer/astroNode.ts @@ -39,7 +39,7 @@ export function createAstroNode( if (Object.hasOwn(components, node.name)) { const componentRenderer = components[node.name]; const component = - 'Component' in componentRenderer ? componentRenderer.component : componentRenderer; + 'component' in componentRenderer ? componentRenderer.component : componentRenderer; const props = 'props' in componentRenderer ? componentRenderer.props({