Сделала вывод ошибки в модальное окно

This commit is contained in:
Daria Golova
2022-11-21 14:10:51 +03:00
parent b2cc48efb3
commit d4f8470186
4 changed files with 19 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ function handleRequest(method, url, headers, attempts, body) {
if (res) return res.json();
})
.catch((err) => {
console.log(err);
// console.log(err);
return err;
});
}