diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-04-09 14:37:06 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-04-09 14:37:06 -0700 |
commit | 45041863a432ed5ba02f896f0c4f3c23ae7830ed (patch) | |
tree | 1b025124211aaade2d0660eed518ca5a20443e20 /src/screens/onboarding/InvitationCodeVerification.tsx | |
parent | bdd1ed17600da7b766e2b0fa97ad4cbf01234819 (diff) |
removed chat client inside userlogin
Diffstat (limited to 'src/screens/onboarding/InvitationCodeVerification.tsx')
-rw-r--r-- | src/screens/onboarding/InvitationCodeVerification.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/onboarding/InvitationCodeVerification.tsx b/src/screens/onboarding/InvitationCodeVerification.tsx index 774a7a11..6bc0ac9d 100644 --- a/src/screens/onboarding/InvitationCodeVerification.tsx +++ b/src/screens/onboarding/InvitationCodeVerification.tsx @@ -79,7 +79,7 @@ const InvitationCodeVerification: React.FC<InvitationCodeVerificationProps> = ({ const username = route.params.username; await AsyncStorage.setItem('userId', userId); await AsyncStorage.setItem('username', username); - userLogin(dispatch, {userId, username}, chatClient); + userLogin(dispatch, {userId, username}); } else { Alert.alert(ERROR_INVALID_INVITATION_CODE); } |