From 82f3a8d119f48daaad49f1aab4f3c3ce04c7c589 Mon Sep 17 00:00:00 2001 From: 1119wj <1119wj@naver.com> Date: Sun, 1 Dec 2024 01:22:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=95=88=EC=93=B0=EB=8A=94=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=82=AD=EC=A0=9C=20#141?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/hooks/useSelect.ts | 11 ----------- frontend/src/lib/CustomMarkerClusterer.ts | 2 -- 2 files changed, 13 deletions(-) delete mode 100644 frontend/src/hooks/useSelect.ts 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,