alova - update comments

This commit is contained in:
proddy
2023-06-15 16:08:25 +02:00
parent adc4760b5f
commit f58dbf6ec1
20 changed files with 117 additions and 137 deletions

View File

@@ -33,6 +33,7 @@ const AuthenticatedRouting: FC = () => {
);
useEffect(() => {
// TODO how to replace AXIOS.interceptors.response.use ???
const axiosHandlerId = AXIOS.interceptors.response.use((response) => response, handleApiResponseError);
return () => AXIOS.interceptors.response.eject(axiosHandlerId);
}, [handleApiResponseError]);