diff options
Diffstat (limited to 'packages/astro/src')
-rw-r--r-- | packages/astro/src/compiler/codegen/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/compiler/codegen/index.ts b/packages/astro/src/compiler/codegen/index.ts index fb3bd3451..36f5a0c56 100644 --- a/packages/astro/src/compiler/codegen/index.ts +++ b/packages/astro/src/compiler/codegen/index.ts @@ -716,7 +716,7 @@ async function compileHtml(enterNode: TemplateNode, state: CodegenState, compile buffers[curr] += `h(${componentName}, ${attributes ? generateAttributes(attributes) : 'null'}`; return; } else if (!state.declarations.has(componentName) && !componentInfo && !isCustomElementTag(componentName)) { - throw new Error(`Unable to render "${componentName}" because it is undefined\n ${state.filename}`) + throw new Error(`Unable to render "${componentName}" because it is undefined\n ${state.filename}`); } if (componentName === 'Markdown') { const { $scope } = attributes ?? {}; |