Skip to content

Commit

Permalink
Merge branch 'master' into set-state-cb
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Sep 27, 2022
2 parents 1f3f355 + 32163d0 commit 44d230c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diff/index.js
Expand Up @@ -524,7 +524,7 @@ export function unmount(vnode, parentVNode, skipRemove) {
if ((r = vnode._children)) {
for (let i = 0; i < r.length; i++) {
if (r[i]) {
unmount(r[i], parentVNode, typeof vnode.type != 'function');
unmount(r[i], parentVNode, skipRemove || typeof vnode.type !== 'function');
}
}
}
Expand Down

0 comments on commit 44d230c

Please sign in to comment.