Skip to content

Commit 6fbf0dd

Browse files
committed
chore: use variable instead of literal
1 parent e3f5dcb commit 6fbf0dd

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime-dom/src/modules

1 file changed

+1
-1
lines changed

packages/runtime-dom/src/modules/props.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export function patchDOMProp(
3434
el.value = newValue
3535
}
3636
if (value == null) {
37-
el.removeAttribute('value')
37+
el.removeAttribute(key)
3838
}
3939
return
4040
}

0 commit comments

Comments
 (0)