aboutsummaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-10-06 22:06:06 -0700
committerGitHub <noreply@github.com>2020-10-07 01:06:06 -0400
commite86478f52e191c52fea20980278174af46f50953 (patch)
tree195cacdf4326d199294034c0712b626bf7ebcfda /src/routes
parent8aafec40501b2236f127cf9175e8a21eb31ee9b0 (diff)
TMA 207 : Updated the Onboarding Process (#42)
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/onboarding/Onboarding.tsx5
-rw-r--r--src/routes/onboarding/OnboardingStack.tsx7
2 files changed, 8 insertions, 4 deletions
diff --git a/src/routes/onboarding/Onboarding.tsx b/src/routes/onboarding/Onboarding.tsx
index b14bd85c..7b2eb85d 100644
--- a/src/routes/onboarding/Onboarding.tsx
+++ b/src/routes/onboarding/Onboarding.tsx
@@ -4,6 +4,7 @@ import {
Login,
RegistrationOne,
RegistrationTwo,
+ RegistrationThree,
Verification,
ProfileOnboarding,
Checkpoint,
@@ -39,6 +40,10 @@ const Onboarding: React.FC = () => {
name="RegistrationTwo"
component={RegistrationTwo}
/>
+ <OnboardingStack.Screen
+ name="RegistrationThree"
+ component={RegistrationThree}
+ />
<OnboardingStack.Screen name="Checkpoint" component={Checkpoint} />
<OnboardingStack.Screen name="Verification" component={Verification} />
<OnboardingStack.Screen
diff --git a/src/routes/onboarding/OnboardingStack.tsx b/src/routes/onboarding/OnboardingStack.tsx
index 554260c8..1f6214fd 100644
--- a/src/routes/onboarding/OnboardingStack.tsx
+++ b/src/routes/onboarding/OnboardingStack.tsx
@@ -4,11 +4,10 @@ export type OnboardingStackParams = {
Splash: undefined;
Login: undefined;
RegistrationOne: undefined;
- RegistrationTwo:
- | {firstName: string; lastName: string; email: string}
- | undefined;
+ RegistrationTwo: {email: string};
+ RegistrationThree: {firstName: string; lastName: string; email: string};
Checkpoint: {username: string; userId: string};
- Verification: {username: string; email: string; userId: string};
+ Verification: {email: string};
ProfileOnboarding: {username: string; userId: string};
};