Skip to content

Commit a9b1063

Browse files
committed
chore: update log for removeChild
1 parent a93c771 commit a9b1063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/angular/src/lib/nativescript-renderer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class NativeScriptRenderer implements Renderer2 {
266266
@modifiesDom()
267267
removeChild(parent: any, oldChild: any, isHostElement?: boolean): void {
268268
if (NativeScriptDebug.enabled) {
269-
NativeScriptDebug.rendererLog(`NativeScriptRenderer.removeChild child: ${oldChild} parent: ${parent}`);
269+
NativeScriptDebug.rendererLog(`NativeScriptRenderer.removeChild child: ${oldChild} parent: ${parent} oldChild.parentNode: ${oldChild?.parentNode}`);
270270
}
271271
this.viewUtil.removeChild(parent ?? oldChild.parentNode, oldChild);
272272
}

0 commit comments

Comments
 (0)