Skip to content

Commit 1ea3032

Browse files
authored
Merge pull request #1314 from IFRCGo/fix/world-bank-life-expectancy
Use WorldBank life expectancy data
2 parents 21021fc + a4f77ab commit 1ea3032

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/witty-tomatoes-compete.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"go-web-app": patch
3+
---
4+
5+
Fetch and use latest available WorldBank data in [#571](https://github.com/IFRCGo/go-api/issues/2224)

app/src/views/CountryProfileOverview/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export function Component() {
318318
/>
319319
<TextOutput
320320
label={strings.countryIndicatorsLifeExpectancyLabel}
321-
value={databankResponse?.life_expectancy}
321+
value={databankResponse?.world_bank_life_expectancy}
322322
valueType="number"
323323
strongValue
324324
/>

0 commit comments

Comments
 (0)