From eb2a73581720c0431f5c65341f9bf7cc13909c24 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sat, 10 Oct 2026 14:26:06 +0700 Subject: [PATCH] fix(client): remove unnecessary type declaration --- .../components/home-holdings/home-holdings.component.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/client/src/app/components/home-holdings/home-holdings.component.ts b/apps/client/src/app/components/home-holdings/home-holdings.component.ts index 01148366bf..fdce3fcbd0 100644 --- a/apps/client/src/app/components/home-holdings/home-holdings.component.ts +++ b/apps/client/src/app/components/home-holdings/home-holdings.component.ts @@ -13,7 +13,6 @@ import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { internalRoutes } from '@ghostfolio/common/routes/routes'; import { hasScope, scopes } from '@ghostfolio/common/scopes'; import type { - ColorScheme, DateRange, HoldingType, HoldingsViewMode, @@ -59,11 +58,11 @@ import { DeviceDetectorService } from 'ngx-device-detector'; export class GfHomeHoldingsComponent implements OnInit { public static DEFAULT_HOLDINGS_VIEW_MODE: HoldingsViewMode = 'TABLE'; - protected readonly baseCurrency = computed(() => { + protected readonly baseCurrency = computed(() => { return this.user()?.settings?.baseCurrency ?? DEFAULT_CURRENCY; }); - protected readonly colorScheme = computed(() => { + protected readonly colorScheme = computed(() => { return this.user()?.settings?.colorScheme; }); @@ -100,7 +99,7 @@ export class GfHomeHoldingsComponent implements OnInit { ]; protected isHoldingsViewModeToggleDisabled = true; - protected readonly locale = computed(() => { + protected readonly locale = computed(() => { return this.user()?.settings?.locale ?? DEFAULT_LOCALE; });