mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 04:48:51 +00:00
fix: apply feedback update
This commit is contained in:
parent
4278c04587
commit
7f45fc8d39
@ -71,8 +71,8 @@ export const useLogout = (
|
||||
return await apiClient.logout();
|
||||
},
|
||||
onSuccess: async () => {
|
||||
send(EBCEvent.LOGOUT_END_SESSION);
|
||||
queryClient.removeQueries([CURRENT_USER_KEY]);
|
||||
send(EBCEvent.LOGOUT_END_SESSION);
|
||||
await logoutRedirection();
|
||||
toast.success(t("message.logout_success"));
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user