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

@ -1,6 +1,6 @@
import { LatLng } from 'leaflet'
import useFetch from './useFetch'
import { useFetch } from '../'
import { composeTrashboxURL } from '../../api/trashbox'
import { isTrashboxResponse } from '../../api/trashbox/types'