Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'country',
'company',
'email',
'first_name',
'last_name',
'phone',
'state',
'tax_id',
'zip'
],
accountError.update
);
const generalError = errorMap.none;
const countryResults: Item[] = countryData.map(
(country: Country) => {
return {
value: country.countryShortCode,
label: country.countryName
};
}
);
// const currentCountryResult = countryData.filter((country: Country) =>
// fields.country
// ? country.countryShortCode === fields.country
// : country.countryShortCode === account.country
// );
// const countryRegions: Region[] = pathOr(
// [],