aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-12 18:22:52 -0500
committerGitHub <noreply@github.com>2021-03-12 18:22:52 -0500
commit813e9982bed74a9ccbc3b50b7e553ed1b456c93c (patch)
tree5a8d13256be83dd955d2a66a9dc9eebd26ee25c5 /src/screens/onboarding
parent8bb3a254e8971428274568acdc969e4df0777409 (diff)
parent82f0448edfee2d1803098085f6710ac1eb7dcb91 (diff)
Merge pull request #292 from IvanIFChen/tma694-edit-badges
[TMA-694] Edit Badges
Diffstat (limited to 'src/screens/onboarding')
-rw-r--r--src/screens/onboarding/Login.tsx1
-rw-r--r--src/screens/onboarding/OnboardingStepTwo.tsx2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/screens/onboarding/Login.tsx b/src/screens/onboarding/Login.tsx
index 2ca4172b..cfa39dbd 100644
--- a/src/screens/onboarding/Login.tsx
+++ b/src/screens/onboarding/Login.tsx
@@ -165,7 +165,6 @@ const Login: React.FC<LoginProps> = ({navigation}: LoginProps) => {
userLogin(dispatch, {userId: data.UserID, username});
fcmService.sendFcmTokenToServer();
} catch (err) {
- console.log(data);
Alert.alert(ERROR_INVALID_LOGIN);
}
} else if (statusCode === 200 && !data.isOnboarded) {
diff --git a/src/screens/onboarding/OnboardingStepTwo.tsx b/src/screens/onboarding/OnboardingStepTwo.tsx
index de869c99..93342c3f 100644
--- a/src/screens/onboarding/OnboardingStepTwo.tsx
+++ b/src/screens/onboarding/OnboardingStepTwo.tsx
@@ -173,12 +173,10 @@ const OnboardingStepTwo: React.FC<OnboardingStepTwoProps> = ({
Alert.alert(ERROR_REGISTRATION(Object.values(data)));
break;
default:
- console.log('fooo');
Alert.alert(ERROR_SOMETHING_WENT_WRONG_REFRESH);
break;
}
} else {
- console.log('barrr');
Alert.alert(ERROR_SOMETHING_WENT_WRONG_REFRESH);
}
} else {