From 28218a67a6630863d57f1699e8453155ee5f2aa3 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 6 Apr 2021 15:23:14 -0400 Subject: using tagg user id --- src/store/actions/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/store') diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts index 4faa2206..3ebd4190 100644 --- a/src/store/actions/user.ts +++ b/src/store/actions/user.ts @@ -173,7 +173,7 @@ export const logout = ( try { // do our best effort here to gracefully disconnect the user if (client) { - await client.disconnectUser(); + client.disconnectUser(); } await AsyncStorage.clear(); dispatch({type: userLoggedIn.type, payload: {userId: '', username: ''}}); -- cgit v1.2.3-70-g09d2