Skip to content

Commit

Permalink
fix: remove user queries without invalidating on logout
Browse files Browse the repository at this point in the history
Refs #402
  • Loading branch information
lpezzolla committed Dec 19, 2023
1 parent df10127 commit e539173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/queries/authHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const useLogout = () => {
onSuccess: async () => {
refreshContext();
asyncStoragePersister.removeClient();
queryClient.invalidateQueries([]);
queryClient.removeQueries();
await Keychain.resetGenericPassword();
},
});
Expand Down

0 comments on commit e539173

Please sign in to comment.