summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2022-12-16 19:16:43 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2022-12-16 19:16:43 +0000
commit6f5746746a0bfcfe27e063489cad6a678804288f (patch)
tree6623036babc9d2dfa1f110342777f3a436ea3068
parentd85ec7484ce14a4c7d3f480da8f38fcb9aff388f (diff)
downloadastro-6f5746746a0bfcfe27e063489cad6a678804288f.tar.gz
astro-6f5746746a0bfcfe27e063489cad6a678804288f.tar.zst
astro-6f5746746a0bfcfe27e063489cad6a678804288f.zip
[ci] format
-rw-r--r--packages/astro/src/runtime/server/render/component.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/astro/src/runtime/server/render/component.ts b/packages/astro/src/runtime/server/render/component.ts
index 69fcfa160..7896a4bd2 100644
--- a/packages/astro/src/runtime/server/render/component.ts
+++ b/packages/astro/src/runtime/server/render/component.ts
@@ -244,9 +244,7 @@ If you're still stuck, please open an issue on GitHub or join us at https://astr
const childSlots = Object.values(children).join('');
const iterable = renderAstroTemplateResult(
await renderTemplate`<${Tag}${internalSpreadAttributes(props)}${markHTMLString(
- childSlots === '' && voidElementNames.test(Tag)
- ? `/>`
- : `>${childSlots}</${Tag}>`
+ childSlots === '' && voidElementNames.test(Tag) ? `/>` : `>${childSlots}</${Tag}>`
)}`
);
html = '';