Skip to content

Commit 558ea03

Browse files
Update src/lib/js/components/component.js
Co-authored-by: Copilot <[email protected]>
1 parent 9105616 commit 558ea03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/js/components/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ export default class Component extends Data {
453453
// Dispatch enhanced onAddChild event on the parent
454454
this.dispatchComponentEvent('onAddChild', {
455455
parent: this,
456-
target: this,
456+
target: child,
457457
child,
458458
index,
459459
})

0 commit comments

Comments
 (0)