diff options
author | Ivan Chen <ivan@tagg.id> | 2021-03-19 18:02:52 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-03-19 18:02:52 -0400 |
commit | 8013dd29f447990f95cc4ad9557238fc825bcc54 (patch) | |
tree | b06e722134bf9f9a79419e30014d27fae6b9bce3 | |
parent | 4338e7bd5b9ea86268095c05011bfcef22c43a74 (diff) |
comment out data release
-rw-r--r-- | src/screens/profile/ProfileScreen.tsx | 10 |
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 ( <> |