1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-29 15:10:14 +02:00

🐛 check for null when checking type of object (assign)

This commit is contained in:
2023-09-19 12:39:56 +02:00
parent 78fdb45ea7
commit ddfa3a2929
5 changed files with 73 additions and 73 deletions

2
dist/esm.js vendored
View File

@@ -76,7 +76,7 @@ function b(e, ...t) {
return c(s.slice(1), f);
if (h === ".")
return y(e, s.slice(1), f);
if (typeof f == "object")
if (typeof f == "object" && f !== null)
switch (s) {
case "style":
return m(f, N.bind(null, e.style, "Property"));