aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 (
<>