diff --git a/libs/common/src/lib/helper.ts b/libs/common/src/lib/helper.ts index 894804287..e55800628 100644 --- a/libs/common/src/lib/helper.ts +++ b/libs/common/src/lib/helper.ts @@ -1,5 +1,3 @@ -import { translate } from '@ghostfolio/ui/i18n'; - import * as currencies from '@dinero.js/currencies'; import { NumberParser } from '@internationalized/number'; import { DataSource, MarketData } from '@prisma/client'; @@ -391,10 +389,10 @@ export function resolveMarketCondition( aMarketCondition: Benchmark['marketCondition'] ) { if (aMarketCondition === 'ALL_TIME_HIGH') { - return { emoji: '🎉', label: translate(aMarketCondition) }; + return { emoji: '🎉' }; } else if (aMarketCondition === 'BEAR_MARKET') { - return { emoji: '🐻', label: translate(aMarketCondition) }; + return { emoji: '🐻' }; } else { - return { emoji: undefined, label: undefined }; + return { emoji: undefined }; } } diff --git a/libs/ui/src/lib/benchmark/benchmark.component.html b/libs/ui/src/lib/benchmark/benchmark.component.html index 913105faa..9497c63f4 100644 --- a/libs/ui/src/lib/benchmark/benchmark.component.html +++ b/libs/ui/src/lib/benchmark/benchmark.component.html @@ -102,10 +102,7 @@