fix: component render bug
This commit is contained in:
parent
7179d2286c
commit
b7d944a536
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue