Skip to content

Commit

Permalink
chore(reconciler): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Jan 30, 2025
1 parent 818ac38 commit 7e254cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/fiber/src/core/reconciler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ function handleContainerEffects(parent: Instance, child: Instance, beforeChild?:
child.object.parent = parent.object
parent.object.children.splice(childIndex, 0, child.object)
child.object.dispatchEvent({ type: 'added' })
// expect-error https://github.com/mrdoob/three.js/pull/16934
parent.object.dispatchEvent({ type: 'childadded', child: child.object })
} else {
parent.object.add(child.object)
Expand Down

0 comments on commit 7e254cd

Please sign in to comment.