aboutsummaryrefslogtreecommitdiff
path: root/src/store/actions
diff options
context:
space:
mode:
authorShravya Ramesh <shravs1208@gmail.com>2021-04-09 13:46:42 -0700
committerShravya Ramesh <shravs1208@gmail.com>2021-04-09 13:46:42 -0700
commitbdd1ed17600da7b766e2b0fa97ad4cbf01234819 (patch)
treed4b8097cbea9ec7697967a62f2bf0be8ab30cc0a /src/store/actions
parent55a5fa01be46a193d3917e1a334f300593a8ec01 (diff)
removed client ready from redux
Diffstat (limited to 'src/store/actions')
-rw-r--r--src/store/actions/user.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts
index 0ed57fe6..c7d0d5a7 100644
--- a/src/store/actions/user.ts
+++ b/src/store/actions/user.ts
@@ -11,7 +11,6 @@ import {getTokenOrLogout} from '../../utils';
import {
clearHeaderAndProfileImages,
profileCompletionStageUpdated,
- setChatClientReady,
setIsOnboardedUser,
setNewNotificationReceived,
setNewVersionAvailable,
@@ -235,17 +234,3 @@ export const suggestedPeopleAnimatedTutorialFinished = (
}
};
-export const updateChatClientReady = (
- chatClientReady: boolean,
-): ThunkAction<Promise<void>, RootState, unknown, Action<string>> => async (
- dispatch,
-) => {
- try {
- dispatch({
- type: setChatClientReady.type,
- payload: {chatClientReady},
- });
- } catch (error) {
- console.log(error);
- }
-};