Skip to content

Commit

Permalink
Removes the extra parameter passed into the extractChildren() function (
Browse files Browse the repository at this point in the history
  • Loading branch information
terrence-ou committed Jun 5, 2024
1 parent 2ebd4c1 commit 05b6f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime/src/h.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export function extractChildren(vdom) {

for (const child of vdom.children) {
if (child.type === DOM_TYPES.FRAGMENT) {
children.push(...extractChildren(child, children))
children.push(...extractChildren(child))
} else {
children.push(child)
}
Expand Down

0 comments on commit 05b6f9d

Please sign in to comment.