Skip to content

Commit

Permalink
remove unneeded removeDOM parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kfule authored and dead-claudia committed Feb 3, 2025
1 parent cbac80d commit b3e65fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ module.exports = function() {
}
function updateHTML(parent, old, vnode, ns, nextSibling) {
if (old.children !== vnode.children) {
removeDOM(parent, old, undefined)
removeDOM(parent, old)
createHTML(parent, vnode, ns, nextSibling)
}
else {
Expand Down

0 comments on commit b3e65fd

Please sign in to comment.