Skip to content

Commit

Permalink
Merge branch 'revert-79502937' into 'master'
Browse files Browse the repository at this point in the history
Revert "Merge branch 'fix/empty-confirmation-code-error-4212' into 'master'"

See merge request minds/mobile-native!1757
  • Loading branch information
msantang78 committed May 10, 2022
2 parents 7950293 + f7f141d commit 48d0083
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,6 @@
"phoneNumber": "Phone Number",
"weJustSentCode": "We just sent the code to {{phone}} in order to verify that your number is correct.",
"confirmationCode": "Confirmation Code",
"confirmationCodeInvalid": "Please enter a code",
"welcomeNew": "Welcome to the Minds Community!",
"welcomePrivacy": "Your privacy is our priority. You are free to provide as much or as little information as you wish for better recommendations and to connect with people in your local area.",
"welcomeLater": "No thanks, I’ll do it later",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,7 @@ const createPhoneValidationStore = ({
NavigationService.goBack();
},
confirmAction() {
if (!this.canConfirm) {
this.setError(i18n.t('onboarding.confirmationCodeInvalid'));
return null;
}
if (this.inProgress) {
if (this.inProgress || !this.canConfirm) {
return null;
}

Expand Down

0 comments on commit 48d0083

Please sign in to comment.