aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/ProfileScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-03-19 18:10:41 -0400
committerGitHub <noreply@github.com>2021-03-19 18:10:41 -0400
commitec7aa3cacd5c613e0d6ff589274ac58ce62bd6a8 (patch)
tree18d6061d24b34df136cfb7d7a4e3f61580b82b7d /src/screens/profile/ProfileScreen.tsx
parentf8a2634372eb7bda871a11cd14aca758782a1d2e (diff)
parent8013dd29f447990f95cc4ad9557238fc825bcc54 (diff)
Merge pull request #309 from IvanIFChen/tma707-login-after-invitation-code
[TMA-707] Login directly after entering correct invitation code
Diffstat (limited to 'src/screens/profile/ProfileScreen.tsx')
-rw-r--r--src/screens/profile/ProfileScreen.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/screens/profile/ProfileScreen.tsx b/src/screens/profile/ProfileScreen.tsx
index 5edc6277..313e2f2c 100644
--- a/src/screens/profile/ProfileScreen.tsx
+++ b/src/screens/profile/ProfileScreen.tsx
@@ -38,11 +38,11 @@ const ProfileScreen: React.FC<ProfileOnboardingProps> = ({route}) => {
* This is done to reset the users stored in our store for the Search screen.
* Read more about useFocusEffect here : https://reactnavigation.org/docs/function-after-focusing-screen/
*/
- useFocusEffect(() => {
- if (!userXId) {
- dispatch(resetScreenType(screenType));
- }
- });
+ // useFocusEffect(() => {
+ // if (!userXId) {
+ // dispatch(resetScreenType(screenType));
+ // }
+ // });
return (
<>