Added useSend hook, converted useFetch to use it

Moved useFetch
Related to #19
This commit is contained in:
2023-07-16 00:08:51 +03:00
parent 5b14d75048
commit f4226237ab
10 changed files with 180 additions and 137 deletions

View File

@ -28,7 +28,7 @@ function LoginPage() {
if (token) {
setToken(token)
navigate('/')
navigate(-1 - Number(import.meta.env.DEV))
}
}