Skip to content

Commit

Permalink
fix: 🐛 component-id collision error NG0912
Browse files Browse the repository at this point in the history
  • Loading branch information
matheo committed Aug 1, 2023
1 parent 6c5e7b6 commit 49c2d09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/spectator/src/lib/spectator-host/host-component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Component, NgModule } from '@angular/core';

@Component({
template: ''
selector: 'lib-ngneat-host-component',
template: '',
})
export class HostComponent {}

Expand All @@ -12,6 +13,6 @@ export class HostComponent {}
Reference: https://github.com/angular/issues/13590
*/
@NgModule({
declarations: [HostComponent]
declarations: [HostComponent],
})
export class HostModule {}

0 comments on commit 49c2d09

Please sign in to comment.