Skip to content

Commit

Permalink
fix: component render bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Feb 16, 2023
1 parent 59f1e5c commit b72ba61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-markdoc/src/renderer/astroNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit b72ba61

Please sign in to comment.