From 4cf62be980c59aa1ba74f2d2e61d6495b4330f5e Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Tue, 16 Jun 2026 17:16:14 +0700 Subject: [PATCH] fix(client): remove dead code --- .../holding-detail-dialog.component.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts index 6234656a3..7fbfa2b7d 100644 --- a/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts +++ b/apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.component.ts @@ -163,9 +163,6 @@ export class GfHoldingDetailDialogComponent implements OnInit { protected user: User; protected value: number; - private netPerformance: number; - private netPerformancePrecision = 2; - private netPerformancePercent: number; private tags: Tag[]; public constructor( @@ -271,8 +268,6 @@ export class GfHoldingDetailDialogComponent implements OnInit { marketPrice, marketPriceMax, marketPriceMin, - netPerformance, - netPerformancePercent, netPerformancePercentWithCurrencyEffect, netPerformanceWithCurrencyEffect, quantity, @@ -368,17 +363,6 @@ export class GfHoldingDetailDialogComponent implements OnInit { this.marketPricePrecision = 0; } - this.netPerformance = netPerformance; - - if ( - this.data.deviceType === 'mobile' && - this.netPerformance >= NUMERICAL_PRECISION_THRESHOLD_5_FIGURES - ) { - this.netPerformancePrecision = 0; - } - - this.netPerformancePercent = netPerformancePercent; - this.netPerformancePercentWithCurrencyEffect = netPerformancePercentWithCurrencyEffect;