fix: ensure displayName is a string
This commit is contained in:
parent
f744d2bb76
commit
896ca32d53
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ async function renderFrameworkComponent(
|
|||
const { renderers, clientDirectives } = result;
|
||||
const metadata: AstroComponentMetadata = {
|
||||
astroStaticSlot: true,
|
||||
displayName,
|
||||
displayName: typeof displayName === 'string' ? displayName : '',
|
||||
};
|
||||
|
||||
const { hydration, isPage, props } = extractDirectives(_props, clientDirectives);
|
||||
|
|
Loading…
Reference in a new issue