Skip to content

Commit

Permalink
Fix the data for SDG tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasaifee42 committed Oct 1, 2024
1 parent 7aa210e commit 964177f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const COUNTRYTAXONOMYLINK =
'https://raw.githubusercontent.com/UNDP-Data/country-taxonomy-from-azure/main/country_territory_groups.json';

export const SDGDATASOURCELINK =
'https://raw.githubusercontent.com/UNDP-Data/SDG-Accelerator/production/public';
'https://raw.githubusercontent.com/UNDP-Data/SDG-Accelerator-Data-Repo/refs/heads/main/CountryData';

export const REGION_ACRONYMS = ['AP', 'AS', 'ECA', 'LAC', 'SSA'];

Expand Down
2 changes: 1 addition & 1 deletion src/CountryPage/SDGDataExplorer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function SDGDataExplorer(props: Props) {
useEffect(() => {
setStatuses(undefined);
json(
`${SDGDATASOURCELINK}/data/CountryData/${countryId}.json`,
`${SDGDATASOURCELINK}/${countryId}.json`,
(err: any, d: CountryDataType) => {
if (err) throw err;
setCountryData(
Expand Down
2 changes: 1 addition & 1 deletion src/CountryPage/SDGTracker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function SDGTracker(props: Props) {
useEffect(() => {
setStatuses(undefined);
json(
`${SDGDATASOURCELINK}/data/CountryData/${countryId}.json`,
`${SDGDATASOURCELINK}/${countryId}.json`,
(err: any, d: CountryDataType) => {
if (err) throw err;
setCountryData(
Expand Down

0 comments on commit 964177f

Please sign in to comment.