mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 12:59:14 +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();
|
return await apiClient.logout();
|
||||||
},
|
},
|
||||||
onSuccess: async () => {
|
onSuccess: async () => {
|
||||||
send(EBCEvent.LOGOUT_END_SESSION);
|
|
||||||
queryClient.removeQueries([CURRENT_USER_KEY]);
|
queryClient.removeQueries([CURRENT_USER_KEY]);
|
||||||
|
send(EBCEvent.LOGOUT_END_SESSION);
|
||||||
await logoutRedirection();
|
await logoutRedirection();
|
||||||
toast.success(t("message.logout_success"));
|
toast.success(t("message.logout_success"));
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user