Skip to content

Commit

Permalink
remove disabled country validation from citizenship (binary-com#6236)
Browse files Browse the repository at this point in the history
  • Loading branch information
amina-deriv authored and adrienne-deriv committed Oct 7, 2022
1 parent 922f851 commit 3a9425b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const validateSignupFields = (values, residence_list) => {
item => item.text.toLowerCase() === values.citizenship.toLowerCase()
);

if (index_of_selection === -1 || residence_list[index_of_selection].disabled === 'DISABLED') {
if (index_of_selection === -1) {
errors.citizenship = localize('Unfortunately, {{website_name}} is not available in your country.', {
website_name,
});
Expand Down

0 comments on commit 3a9425b

Please sign in to comment.