diff --git a/app/javascript/providers/whitelists-provider/whitelists-provider.js b/app/javascript/providers/whitelists-provider/whitelists-provider.js index 9d6f2b2a26..cd6c39d4c5 100644 --- a/app/javascript/providers/whitelists-provider/whitelists-provider.js +++ b/app/javascript/providers/whitelists-provider/whitelists-provider.js @@ -17,7 +17,9 @@ class WhitelistProvider extends PureComponent { getCountryWhitelist, getRegionWhitelist } = this.props; - getCountryWhitelist(adm0); + if (adm0) { + getCountryWhitelist(adm0); + } if (adm1) { getRegionWhitelist({ adm0, adm1, adm2 }); }