Refactor CSS and add "style" function

This commit is contained in:
Talia 2022-02-08 13:14:20 +01:00
parent b40ee8d5b1
commit 5f165d1071
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

View file

@ -89,7 +89,6 @@ export const bind = transform => {
const update = (...data) => {
const next = transform(...data)
if (next) {
console.log(element)
if (element) element.replaceWith(next)
element = inject(next)
return element