Skip to content

Commit

Permalink
Merge pull request #4291 from preactjs/fix-invalid-vnode-id
Browse files Browse the repository at this point in the history
fix: invalid vnode id for text nodes
  • Loading branch information
marvinhagemeister committed Feb 22, 2024
2 parents 53060fb + 6bbbf3b commit 5b6a62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diff/children.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function constructNewChildrenArray(newParentVNode, renderResult, oldChildren) {
childVNode,
null,
null,
childVNode
null
);
} else if (isArray(childVNode)) {
childVNode = newParentVNode._children[i] = createVNode(
Expand Down

0 comments on commit 5b6a62e

Please sign in to comment.