Browse Source

feat(client): replace constructor based DI with inject functions

pull/7265/head
KenTandrian 1 week ago
parent
commit
4090a6266b
  1. 5
      apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts

5
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts

@ -14,6 +14,7 @@ import {
ChangeDetectionStrategy,
Component,
ElementRef,
inject,
Input,
OnChanges,
ViewChild
@ -44,7 +45,9 @@ export class GfPortfolioPerformanceComponent implements OnChanges {
@ViewChild('value') value: ElementRef;
public constructor(private notificationService: NotificationService) {
private readonly notificationService = inject(NotificationService);
public constructor() {
addIcons({ timeOutline });
}

Loading…
Cancel
Save