Returned setData from useFetch

Fixed imports
Related to #19
This commit is contained in:
2023-07-15 11:07:12 +03:00
parent 48a48f9364
commit 2ce0e5b65d
5 changed files with 20 additions and 15 deletions

View File

@ -4,7 +4,7 @@ import { MapContainer, Marker, Popup, TileLayer } from 'react-leaflet'
import LineDot from './LineDot'
import { categoryNames } from '../assets/category'
import { useBook } from '../hooks/api'
import { Announcement } from '../hooks/api/useAnnouncements'
import { Announcement } from '../api/announcement/types'
import { iconItem } from '../utils/markerIcons'
type AnnouncementDetailsProps = {

View File

@ -1,6 +1,6 @@
import { Marker, Popup } from 'react-leaflet'
import { Trashbox } from '../hooks/api/useTrashboxes'
import { Trashbox } from '../api/trashbox/types'
import { iconTrash } from '../utils/markerIcons'
type TrashboxMarkersProps = {