diff --git a/packages/interpreter/src/unified_bindings.rs b/packages/interpreter/src/unified_bindings.rs index e64b412a5c..980f1138f8 100644 --- a/packages/interpreter/src/unified_bindings.rs +++ b/packages/interpreter/src/unified_bindings.rs @@ -113,7 +113,7 @@ mod js { break; } } else if (ns == "style") { - node.style.removeProperty(name); + node.style.removeProperty(field); } else { node.removeAttributeNS(ns, field); }