aboutsummaryrefslogtreecommitdiff
path: root/src/components/profile/Content.tsx
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-04-09 14:37:06 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-04-09 14:37:06 -0700
commit45041863a432ed5ba02f896f0c4f3c23ae7830ed (patch)
tree1b025124211aaade2d0660eed518ca5a20443e20 /src/components/profile/Content.tsx
parentbdd1ed17600da7b766e2b0fa97ad4cbf01234819 (diff)
removed chat client inside userlogin
Diffstat (limited to 'src/components/profile/Content.tsx')
-rw-r--r--src/components/profile/Content.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/profile/Content.tsx b/src/components/profile/Content.tsx
index 0d2a0331..0052b61d 100644
--- a/src/components/profile/Content.tsx
+++ b/src/components/profile/Content.tsx
@@ -84,7 +84,7 @@ const Content: React.FC<ContentProps> = ({userXId, screenType}) => {
const refrestState = async () => {
setRefreshing(true);
if (!userXId) {
- await userLogin(dispatch, loggedInUser, chatClient);
+ await userLogin(dispatch, loggedInUser);
} else {
await fetchUserX(dispatch, user, screenType);
}