Skip to content
Snippets Groups Projects

Bump version 2.7.0

Merged Rene Fernandez Sanchez requested to merge test_local into qa
4 files
+ 12
20
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -30,24 +30,6 @@ export default function useDataJson() {
} catch (requestError) {
const axiosError = requestError as AxiosError;
setError(axiosError);
if (axiosError.response) {
// The request was made and the server responded with a status code
// that falls out of the range of 2xx
// console.log(axiosError.response.data);
// console.log(axiosError.response.status);
// console.log(axiosError.response.headers);
} else if (axiosError.request) {
// The request was made but no response was received
// `error.request` is an instance of XMLHttpRequest in the browser and an instance of
// http.ClientRequest in node.js
console.log(axiosError.request);
} else {
// Something happened in setting up the request that triggered an Error
console.log("Error", axiosError.message);
}
// console.log(axiosError.config);
setDataJson(undefined);
} finally {
setLoading(false);
Loading