diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-04-15 17:22:22 -0400 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-04-15 17:22:22 -0400 |
| commit | 8024accd32811d45f2220c79f274d547e0c4c773 (patch) | |
| tree | c95685fc875c40a26d49c620bb5b924e1262fc17 /src/routes | |
| parent | f9fdbaca591c0e87234b6a5d14f376fe52d26322 (diff) | |
cleaned up Verification to be PasswordVerification
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/onboarding/OnboardingStackNavigator.tsx | 3 | ||||
| -rw-r--r-- | src/routes/onboarding/OnboardingStackScreen.tsx | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/routes/onboarding/OnboardingStackNavigator.tsx b/src/routes/onboarding/OnboardingStackNavigator.tsx index 7d8a751a..4726a47d 100644 --- a/src/routes/onboarding/OnboardingStackNavigator.tsx +++ b/src/routes/onboarding/OnboardingStackNavigator.tsx @@ -1,5 +1,4 @@ import {createStackNavigator} from '@react-navigation/stack'; -import {VerificationScreenType} from '../../types'; export type OnboardingStackParams = { InvitationCodeVerification: {userId: string; username: string}; @@ -9,8 +8,8 @@ export type OnboardingStackParams = { OnboardingStepTwo: {firstName: string; lastName: string; phone: string}; PasswordReset: {value: string}; PasswordResetRequest: undefined; + PasswordVerification: {id: string}; PhoneVerification: {firstName: string; lastName: string; phone: string}; - Verification: {id: string; screenType: VerificationScreenType}; WelcomeScreen: undefined; }; diff --git a/src/routes/onboarding/OnboardingStackScreen.tsx b/src/routes/onboarding/OnboardingStackScreen.tsx index 5e1de2dd..339c3d0d 100644 --- a/src/routes/onboarding/OnboardingStackScreen.tsx +++ b/src/routes/onboarding/OnboardingStackScreen.tsx @@ -7,8 +7,8 @@ import { OnboardingStepTwo, PasswordReset, PasswordResetRequest, + PasswordVerification, PhoneVerification, - Verification, WelcomeScreen, } from '../../screens'; import OnboardingStepOne from '../../screens/onboarding/OnboardingStepOne'; @@ -52,8 +52,8 @@ const Onboarding: React.FC = () => { }} /> <OnboardingStack.Screen - name="Verification" - component={Verification} + name="PasswordVerification" + component={PasswordVerification} options={{ ...modalStyle, }} |
