summaryrefslogtreecommitdiff
path: root/packages/integrations/lit/server.js
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-01-07 13:32:04 +0000
committerGravatar fredkbot <fred+astrobot@astro.build> 2023-01-07 13:32:04 +0000
commiteebcf82ef219ff097a1990e91d2472325ffb9a5b (patch)
treeaf6082332c5381e8855cf0ad176d5013657e8be5 /packages/integrations/lit/server.js
parentf7aa1ec25d1584f7abd421903fbef66b1c050e2a (diff)
downloadastro-eebcf82ef219ff097a1990e91d2472325ffb9a5b.tar.gz
astro-eebcf82ef219ff097a1990e91d2472325ffb9a5b.tar.zst
astro-eebcf82ef219ff097a1990e91d2472325ffb9a5b.zip
[ci] format
Diffstat (limited to 'packages/integrations/lit/server.js')
-rw-r--r--packages/integrations/lit/server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/lit/server.js b/packages/integrations/lit/server.js
index 59c79f55b..83737c183 100644
--- a/packages/integrations/lit/server.js
+++ b/packages/integrations/lit/server.js
@@ -67,7 +67,7 @@ function* render(Component, attrs, slots) {
// Add the missing slot attribute to child Element nodes
for (const node of fragment.childNodes) {
if (node.tagName && !node.attrs.some(({ name }) => name === 'slot')) {
- node.attrs.push({ name: 'slot', value: slot});
+ node.attrs.push({ name: 'slot', value: slot });
}
}