From f5c6751721d931ed11ef4835cc4dd18d270d008f Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Mon, 6 Nov 2023 14:16:40 -0500 Subject: [PATCH] fix: in signOut, return dispatch instead of returning nothing --- src/account/accountSlice.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/account/accountSlice.ts b/src/account/accountSlice.ts index 93b4adc09..2225c9da7 100644 --- a/src/account/accountSlice.ts +++ b/src/account/accountSlice.ts @@ -284,5 +284,5 @@ export const signOut = () => (dispatch: SharedDispatch) => { }); removeToken(); dispatch(setHasToken(false)); - dispatch(setCurrentUser(null)); + return dispatch(setCurrentUser(null)); };