Skip to content

Commit c984a09

Browse files
samsharafrozenhelium
authored andcommitted
fix: value error on tool-tip over national society income chart
1 parent 164dfd1 commit c984a09

File tree

1 file changed

+1
-1
lines changed
  • app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyIncomeOverTime

1 file changed

+1
-1
lines changed

app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyIncomeOverTime/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function NationalSocietyIncomeOverTime(props: Props) {
103103
description={(
104104
<TextOutput
105105
label={strings.nsIncomeOverTimeTooltipTotalLabel}
106-
value={incomeByYear?.[Number(year)].value}
106+
value={incomeByYear?.[Number(year)]?.value}
107107
suffix=" CHF"
108108
valueType="number"
109109
strongValue

0 commit comments

Comments
 (0)