Skip to content

Commit

Permalink
Merge pull request #1314 from IFRCGo/fix/world-bank-life-expectancy
Browse files Browse the repository at this point in the history
Use WorldBank life expectancy data
  • Loading branch information
samshara authored Aug 15, 2024
2 parents 21021fc + a4f77ab commit 1ea3032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/witty-tomatoes-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"go-web-app": patch
---

Fetch and use latest available WorldBank data in [#571](https://github.com/IFRCGo/go-api/issues/2224)
2 changes: 1 addition & 1 deletion app/src/views/CountryProfileOverview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export function Component() {
/>
<TextOutput
label={strings.countryIndicatorsLifeExpectancyLabel}
value={databankResponse?.life_expectancy}
value={databankResponse?.world_bank_life_expectancy}
valueType="number"
strongValue
/>
Expand Down

0 comments on commit 1ea3032

Please sign in to comment.