Skip to content

Commit

Permalink
chore(fao): renamed array to be consistent with its value
Browse files Browse the repository at this point in the history
  • Loading branch information
willian-viana committed Oct 31, 2023
1 parent 110962d commit bd30abc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
TREE_PLANTATIONS,
} from 'data/layers';

import FAOCountries from 'utils/fao-countries';
import { EuropeFAOCountries } from 'utils/fao-countries';

import getWidgetProps from './selectors';

Expand Down Expand Up @@ -79,7 +79,7 @@ export default {
'In {location} between 2000 and 2020, {gainPercent} of tree cover gain within {indicator} occurred outside of plantations.',
},
blacklists: {
adm0: FAOCountries,
adm0: EuropeFAOCountries,
},
settings: {
threshold: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
TREE_PLANTATIONS,
} from 'data/layers';

import FAOCountries from 'utils/fao-countries';
import { EuropeFAOCountries } from 'utils/fao-countries';

import getWidgetProps from './selectors';

Expand Down Expand Up @@ -76,7 +76,7 @@ export default {
checkStatus: true,
},
blacklists: {
adm0: FAOCountries,
adm0: EuropeFAOCountries,
},
settings: {
threshold: 30,
Expand Down
4 changes: 2 additions & 2 deletions utils/fao-countries.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const FAOCountries = [
export const EuropeFAOCountries = [
'ALB',
'AND',
'AUT',
Expand Down Expand Up @@ -51,4 +51,4 @@ const FAOCountries = [
'GBR',
];

export default FAOCountries;
export default EuropeFAOCountries;

0 comments on commit bd30abc

Please sign in to comment.