Skip to content

Commit

Permalink
remove disabled country validation from citizenship
Browse files Browse the repository at this point in the history
  • Loading branch information
amina-deriv committed Aug 18, 2022
1 parent 296849a commit 77b0d4a
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 77b0d4a

Please sign in to comment.