summaryrefslogtreecommitdiff
path: root/packages/integrations/lit/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/lit/server.js')
-rw-r--r--packages/integrations/lit/server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/lit/server.js b/packages/integrations/lit/server.js
index df284dbeb..bc8995061 100644
--- a/packages/integrations/lit/server.js
+++ b/packages/integrations/lit/server.js
@@ -9,7 +9,7 @@ function isCustomElementTag(name) {
function getCustomElementConstructor(name) {
if (typeof customElements !== 'undefined' && isCustomElementTag(name)) {
return customElements.get(name) || null;
- } else if(typeof name === 'function') {
+ } else if (typeof name === 'function') {
return name;
}
return null;
@@ -28,7 +28,7 @@ async function check(Component, _props, _children) {
function* render(Component, attrs, children) {
let tagName = Component;
- if(typeof tagName !== 'string') {
+ if (typeof tagName !== 'string') {
tagName = Component[Symbol.for('tagName')];
}
const instance = new LitElementRenderer(tagName);