Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
velzie committed Aug 27, 2024
1 parent 108d303 commit 2b96877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ export function h(type, props, ...children) {

if (name == 'style' && isobj(ptr) && !isDLPtr(ptr)) {
for (let key in ptr) {
let prop = ptr[key]
let prop = use(ptr[key])
if (isDLPtr(prop)) {
handle(prop, (value) => (elm.style[key] = value))
} else {
Expand Down

0 comments on commit 2b96877

Please sign in to comment.