fix: lint errors.

This commit is contained in:
Domingos Panta 2022-05-12 13:39:10 +01:00
parent fdd781b081
commit 668e97c5a9

View File

@ -11,7 +11,7 @@ if (env === "development" || localStorage.dev === "dev") {
axios.interceptors.response.use(function (response) { axios.interceptors.response.use(function (response) {
return response; return response;
}, function (error) { }, function (error) {
if(error.response.status === 404){ if (error.response.status === 404) {
location.href = "/page-not-found"; location.href = "/page-not-found";
} }
console.log(error); console.log(error);