diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-02-05 16:50:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 16:50:13 -0500 |
commit | 55914efe03da970f03970a2a9fa85196fce41b75 (patch) | |
tree | d475e92b463926fc4430b02fb80350aa50aefa1f /src/screens/profile/ProfileScreen.tsx | |
parent | f591dd437a1273d99709aa6a3637a3a2922e6f4d (diff) | |
parent | 212eae20eb33d224525c52cea600b86fb2fd1126 (diff) |
Merge pull request #212 from shravyaramesh/tma590-friendslist-buttons
[TMA-590] New Friends Screen
Diffstat (limited to 'src/screens/profile/ProfileScreen.tsx')
-rw-r--r-- | src/screens/profile/ProfileScreen.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/profile/ProfileScreen.tsx b/src/screens/profile/ProfileScreen.tsx index 0ea96cd2..9cdba555 100644 --- a/src/screens/profile/ProfileScreen.tsx +++ b/src/screens/profile/ProfileScreen.tsx @@ -29,9 +29,9 @@ const ProfileScreen: React.FC<ProfileOnboardingProps> = ({route}) => { * This is a double safety check to avoid app crash. * Checks if the required userXId is present in the store, if not userXId is set to dummy id */ - if (userXId && !(userXId in useStore().getState().userX[screenType])) { - userXId = DUMMY_USERID; - } + // if (userXId && !(userXId in useStore().getState().userX[screenType])) { + // userXId = DUMMY_USERID; + // } /** * Code under useFocusEffect gets executed every time the screen comes under focus / is being viewed by the user. |