@warp-ds/elements-core
Advanced tools
Comparing version 0.0.1-alpha.6 to 0.0.1-alpha.7
{ | ||
"name": "@warp-ds/elements-core", | ||
"type": "module", | ||
"version": "0.0.1-alpha.6", | ||
"version": "0.0.1-alpha.7", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "./src/element.js", |
@@ -25,3 +25,3 @@ import { CSSResult, unsafeCSS } from "lit"; | ||
*/ | ||
let styles = new CSSStyleSheet(); | ||
let styles; | ||
@@ -32,2 +32,3 @@ if (isServer()) { | ||
} else { | ||
styles = new CSSStyleSheet(); | ||
try { | ||
@@ -34,0 +35,0 @@ // block on fetching styles. This will throw in older browsers that don't support top level await |
4813
128