diff --git a/frontend/src/hooks/useSelect.ts b/frontend/src/hooks/useSelect.ts deleted file mode 100644 index f48158db..00000000 --- a/frontend/src/hooks/useSelect.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { useCallback, useState } from 'react'; - -export const useSelect = (initialSelectedId: number | string) => { - const [selected, setSelected] = useState(initialSelectedId); - - const handleSelectClick = useCallback((selectedId: number | string) => { - setSelected(selectedId); - }, []); - - return { selected, handleSelectClick }; -}; diff --git a/frontend/src/lib/CustomMarkerClusterer.ts b/frontend/src/lib/CustomMarkerClusterer.ts index 3d145874..3aafed48 100644 --- a/frontend/src/lib/CustomMarkerClusterer.ts +++ b/frontend/src/lib/CustomMarkerClusterer.ts @@ -1,6 +1,4 @@ import { - Cluster, - ClusterStats, Marker, MarkerClusterer, MarkerClustererEvents,