Skip to content

Commit 7e056a6

Browse files
Update undefined to null
oh sure Cal, that makes sense to make it consistent with your practices Co-Authored-By: stanislavgeorgiev <[email protected]>
1 parent d397083 commit 7e056a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/placeholder/placeholder.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class PlaceholderService {
3030
if (!this.viewContainerRef) {
3131
console.error("No view container defined! Likely due to a missing `ibm-placeholder`");
3232
}
33-
return this.viewContainerRef.createComponent(componentFactory, undefined, injector);
33+
return this.viewContainerRef.createComponent(componentFactory, null, injector);
3434
}
3535

3636
destroyComponent(component: ComponentRef<any>) {

0 commit comments

Comments
 (0)