aboutsummaryrefslogtreecommitdiff
path: root/src/store
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/store
parentbdd1ed17600da7b766e2b0fa97ad4cbf01234819 (diff)
removed chat client inside userlogin
Diffstat (limited to 'src/store')
-rw-r--r--src/store/reducers/userReducer.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/store/reducers/userReducer.ts b/src/store/reducers/userReducer.ts
index 0b958cac..a8789c1d 100644
--- a/src/store/reducers/userReducer.ts
+++ b/src/store/reducers/userReducer.ts
@@ -75,9 +75,6 @@ const userDataSlice = createSlice({
state.avatar = '';
state.cover = '';
},
- setChatClientReady: (state, action) => {
- state.chatClientReady = action.payload.chatClientReady;
- },
},
});
@@ -93,6 +90,6 @@ export const {
setReplyPosted,
setSuggestedPeopleImage,
clearHeaderAndProfileImages,
- setChatClientReady,
+ // setChatClientReady,
} = userDataSlice.actions;
export const userDataReducer = userDataSlice.reducer;