aboutsummaryrefslogtreecommitdiff
path: root/src/screens/onboarding/OnboardingStepThree.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-30 16:06:58 -0400
committerGitHub <noreply@github.com>2021-03-30 16:06:58 -0400
commit51221063c1747ea7ba6a250e60906d6a06b0fbd8 (patch)
tree36e6e5bb6a93a82abbb5ec5d347fa5e3ef1e68c3 /src/screens/onboarding/OnboardingStepThree.tsx
parent6250ae2a6936bdb8e4b1cca538640fbb0d8c4c48 (diff)
parent92c7cd4fbe78c6921089693f253a908bdc56e9c5 (diff)
Merge pull request #343 from IvanIFChen/hotifx-invitation-code-bug
[HOTFIX] Invitation code not working
Diffstat (limited to 'src/screens/onboarding/OnboardingStepThree.tsx')
-rw-r--r--src/screens/onboarding/OnboardingStepThree.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/screens/onboarding/OnboardingStepThree.tsx b/src/screens/onboarding/OnboardingStepThree.tsx
index 29028421..5cf7993e 100644
--- a/src/screens/onboarding/OnboardingStepThree.tsx
+++ b/src/screens/onboarding/OnboardingStepThree.tsx
@@ -215,10 +215,7 @@ const OnboardingStepThree: React.FC<OnboardingStepThreeProps> = ({
patchEditProfile(request, userId)
.then((_) =>
- navigation.navigate('InvitationCodeVerification', {
- userId: route.params.userId,
- username: username,
- }),
+ navigation.navigate('InvitationCodeVerification', route.params),
)
.catch((error) => {
Alert.alert(error);