diff --git a/frontend/src/hooks/api/users/queries.tsx b/frontend/src/hooks/api/users/queries.tsx index 22d4f39d8..9c2d00b05 100644 --- a/frontend/src/hooks/api/users/queries.tsx +++ b/frontend/src/hooks/api/users/queries.tsx @@ -87,6 +87,8 @@ export const useDeleteMe = () => { localStorage.removeItem("PRIVATE_KEY"); localStorage.removeItem("orgData.id"); + setAuthToken(""); + queryClient.clear(); } });