Content
View differences
Updated by Henriette Darge 7 months ago
Fix the following two warnings:
* `NG0912: Component ID generation collision detected. Components '_WidgetNewsComponent' and '_WidgetSubprojectsComponent' with selector 'ng-component' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID. Find more at` [`https://v20.angular.dev/errors/NG0912`](https://v20.angular.dev/errors/NG0912)
<br>
* `DEPRECATED: DI is instantiating a token "" that inherits its @Injectable decorator but does not provide one itself.`
`This will become an error in a future version of Angular. Please add @Injectable() to the "" class.`
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/804550/content">
Although these are just warnings, they might be masking other issues.
Note to QA: this can be closed once reviewed/merged by a dev.
* `NG0912: Component ID generation collision detected. Components '_WidgetNewsComponent' and '_WidgetSubprojectsComponent' with selector 'ng-component' generated the same component ID. To fix this, you can change the selector of one of those components or add an extra host attribute to force a different ID. Find more at` [`https://v20.angular.dev/errors/NG0912`](https://v20.angular.dev/errors/NG0912)
<br>
* `DEPRECATED: DI is instantiating a token "" that inherits its @Injectable decorator but does not provide one itself.`
`This will become an error in a future version of Angular. Please add @Injectable() to the "" class.`
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/804550/content">
Although these are just warnings, they might be masking other issues.
Note to QA: this can be closed once reviewed/merged by a dev.