Improved useFetch

Related to #19
This commit is contained in:
2023-07-14 20:32:52 +03:00
parent 7ef4194bbd
commit 48a48f9364
15 changed files with 272 additions and 148 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/useHomeAnnouncementList'
import { Announcement } from '../hooks/api/useAnnouncements'
import { iconItem } from '../utils/markerIcons'
type AnnouncementDetailsProps = {