diff options
author | Shravya Ramesh <37447613+shravyaramesh@users.noreply.github.com> | 2020-10-27 09:38:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 12:38:18 -0400 |
commit | e7a712038a17a759d09bf80c6945c89e060f7310 (patch) | |
tree | 258ac10aa51c1300f329d370c308ed76d80250db /src/screens/onboarding/RegistrationThree.tsx | |
parent | 67a3aa389a8b761c9fdf4129265d488a77db1ea9 (diff) |
[TMA-313] Removed Checkpoint while Onboarding (#76)
* Redirecting to ProfilOnboarding page directly without going through the checkpoint page after registration
* Made picture uploads mandatory
Diffstat (limited to 'src/screens/onboarding/RegistrationThree.tsx')
-rw-r--r-- | src/screens/onboarding/RegistrationThree.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/screens/onboarding/RegistrationThree.tsx b/src/screens/onboarding/RegistrationThree.tsx index babb0334..fd742728 100644 --- a/src/screens/onboarding/RegistrationThree.tsx +++ b/src/screens/onboarding/RegistrationThree.tsx @@ -173,7 +173,11 @@ const RegistrationThree: React.FC<RegistrationThreeProps> = ({ if (statusCode === 201) { try { await AsyncStorage.setItem('token', data.token); - navigation.navigate('Checkpoint', { + /* + * Skipping navigation to Checkpoint for alpha + * navigation.navigate('Checkpoint', { userId: userId, username: form.username }); + */ + navigation.navigate('ProfileOnboarding', { userId: userId, username: form.username, }); |