Skip to content

Commit

Permalink
fix: use WorldBank life expectancy data
Browse files Browse the repository at this point in the history
  • Loading branch information
samshara committed Aug 15, 2024
1 parent a6031ed commit 711b8a7
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 711b8a7

Please sign in to comment.