From 0dd65686fcbf482de6119491f2b732dbfaf8dce3 Mon Sep 17 00:00:00 2001 From: Kenrick Tandrian <60643640+KenTandrian@users.noreply.github.com> Date: Sat, 19 Jul 2025 18:22:32 +0000 Subject: [PATCH] fix(client): remove unused components --- .../src/app/components/home-market/home-market.component.ts | 2 -- .../app/components/home-overview/home-overview.component.ts | 2 -- .../src/app/components/home-summary/home-summary.component.ts | 3 +-- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/apps/client/src/app/components/home-market/home-market.component.ts b/apps/client/src/app/components/home-market/home-market.component.ts index 3447c2511..c754935df 100644 --- a/apps/client/src/app/components/home-market/home-market.component.ts +++ b/apps/client/src/app/components/home-market/home-market.component.ts @@ -13,7 +13,6 @@ import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { GfBenchmarkComponent } from '@ghostfolio/ui/benchmark'; import { GfLineChartComponent } from '@ghostfolio/ui/line-chart'; -import { CommonModule } from '@angular/common'; import { ChangeDetectorRef, Component, @@ -27,7 +26,6 @@ import { takeUntil } from 'rxjs/operators'; @Component({ imports: [ - CommonModule, GfBenchmarkComponent, GfFearAndGreedIndexModule, GfLineChartComponent diff --git a/apps/client/src/app/components/home-overview/home-overview.component.ts b/apps/client/src/app/components/home-overview/home-overview.component.ts index 0a199db9f..e4f0713d0 100644 --- a/apps/client/src/app/components/home-overview/home-overview.component.ts +++ b/apps/client/src/app/components/home-overview/home-overview.component.ts @@ -14,7 +14,6 @@ import { import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { internalRoutes } from '@ghostfolio/common/routes/routes'; import { GfLineChartComponent } from '@ghostfolio/ui/line-chart'; -import { GfNoTransactionsInfoComponent } from '@ghostfolio/ui/no-transactions-info'; import { CommonModule } from '@angular/common'; import { @@ -34,7 +33,6 @@ import { takeUntil } from 'rxjs/operators'; imports: [ CommonModule, GfLineChartComponent, - GfNoTransactionsInfoComponent, GfPortfolioPerformanceModule, MatButtonModule, RouterModule diff --git a/apps/client/src/app/components/home-summary/home-summary.component.ts b/apps/client/src/app/components/home-summary/home-summary.component.ts index f5db2f49e..19f8899f0 100644 --- a/apps/client/src/app/components/home-summary/home-summary.component.ts +++ b/apps/client/src/app/components/home-summary/home-summary.component.ts @@ -9,7 +9,6 @@ import { } from '@ghostfolio/common/interfaces'; import { hasPermission, permissions } from '@ghostfolio/common/permissions'; -import { CommonModule } from '@angular/common'; import { ChangeDetectorRef, Component, @@ -23,7 +22,7 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - imports: [CommonModule, GfPortfolioSummaryModule, MatCardModule], + imports: [GfPortfolioSummaryModule, MatCardModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], selector: 'gf-home-summary', styleUrls: ['./home-summary.scss'],