diff options
author | Shravya Ramesh <shravs1208@gmail.com> | 2021-04-09 13:46:42 -0700 |
---|---|---|
committer | Shravya Ramesh <shravs1208@gmail.com> | 2021-04-09 13:46:42 -0700 |
commit | bdd1ed17600da7b766e2b0fa97ad4cbf01234819 (patch) | |
tree | d4b8097cbea9ec7697967a62f2bf0be8ab30cc0a /src/utils/messages.ts | |
parent | 55a5fa01be46a193d3917e1a334f300593a8ec01 (diff) |
removed client ready from redux
Diffstat (limited to 'src/utils/messages.ts')
-rw-r--r-- | src/utils/messages.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils/messages.ts b/src/utils/messages.ts index b2162d34..1c83ca9f 100644 --- a/src/utils/messages.ts +++ b/src/utils/messages.ts @@ -1,6 +1,6 @@ import AsyncStorage from '@react-native-community/async-storage'; import moment from 'moment'; -import {updateChatClientReady} from '../store/actions'; +// import {updateChatClientReady} from '../store/actions'; import {AppDispatch} from '../store/configureStore'; import {RootState} from '../store/rootReducer'; import {ChannelGroupedType} from '../types'; @@ -98,9 +98,7 @@ export const connectChatAccount = async ( }, chatToken, ); - dispatch(updateChatClientReady(true)); } catch (err) { - dispatch(updateChatClientReady(false)); console.log('Error while connecting user to Stream: ', err); } }; |