Changed story dimensions

Improved logging
This commit is contained in:
2023-07-16 00:18:30 +03:00
parent f4226237ab
commit 3668e8c33f
4 changed files with 9 additions and 13 deletions

View File

@ -54,7 +54,7 @@ function useFetch<R, T>(
useEffect(() => {
doSend().then(
data => { if (data !== undefined) setData(data) }
).catch(
).catch( // must never occur
err => import.meta.env.DEV && console.error('Failed to do fetch request', err)
)
}, [doSend])