From c26e21a4aa82bb91857b01552450d4ba9e1e8050 Mon Sep 17 00:00:00 2001 From: 1119wj <1119wj@naver.com> Date: Sun, 1 Dec 2024 01:24:11 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20import=20=EB=A6=B0=ED=8A=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20#141?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/interceptors.ts | 1 - frontend/src/hooks/api/useUserInfoQuery.ts | 2 +- frontend/src/hooks/useMarker.ts | 1 - frontend/src/lib/CustomSuperCluseterAlgorithm.ts | 3 --- frontend/src/store/googleMapSlice/index.ts | 1 - 5 files changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/src/api/interceptors.ts b/frontend/src/api/interceptors.ts index 2de98f20..04214e82 100644 --- a/frontend/src/api/interceptors.ts +++ b/frontend/src/api/interceptors.ts @@ -1,4 +1,3 @@ -import { ROUTES } from '@/constants/routes'; import { AxiosError, InternalAxiosRequestConfig } from 'axios'; import { postTokenRefresh } from './auth'; import { axiosInstance } from './axiosInstance'; diff --git a/frontend/src/hooks/api/useUserInfoQuery.ts b/frontend/src/hooks/api/useUserInfoQuery.ts index 0ac366c0..5477d3b5 100644 --- a/frontend/src/hooks/api/useUserInfoQuery.ts +++ b/frontend/src/hooks/api/useUserInfoQuery.ts @@ -1,6 +1,6 @@ import { getUserInfo } from '@/api/auth'; import { User } from '@/types'; -import { useQuery, useSuspenseQuery } from '@tanstack/react-query'; +import { useQuery } from '@tanstack/react-query'; export const useUserInfoQuery = () => { const { data, refetch, error } = useQuery({ diff --git a/frontend/src/hooks/useMarker.ts b/frontend/src/hooks/useMarker.ts index d9b51ff7..95bb8ff5 100644 --- a/frontend/src/hooks/useMarker.ts +++ b/frontend/src/hooks/useMarker.ts @@ -1,5 +1,4 @@ import { useStore } from '@/store/useStore'; -import { add } from 'lodash'; import { useEffect, useState } from 'react'; type MarkerCustomProps = { diff --git a/frontend/src/lib/CustomSuperCluseterAlgorithm.ts b/frontend/src/lib/CustomSuperCluseterAlgorithm.ts index 5dab85d6..1232ade2 100644 --- a/frontend/src/lib/CustomSuperCluseterAlgorithm.ts +++ b/frontend/src/lib/CustomSuperCluseterAlgorithm.ts @@ -1,5 +1,4 @@ import { - Marker, SuperClusterViewportAlgorithm, SuperClusterViewportOptions, } from '@googlemaps/markerclusterer'; @@ -9,5 +8,3 @@ export class CustomSuperClusterAlgorithm extends SuperClusterViewportAlgorithm { super(options); } } - -const createMarkerProxy = (markers: Marker[], onchange: () => void) => {}; diff --git a/frontend/src/store/googleMapSlice/index.ts b/frontend/src/store/googleMapSlice/index.ts index 8ea6edeb..03c149ab 100644 --- a/frontend/src/store/googleMapSlice/index.ts +++ b/frontend/src/store/googleMapSlice/index.ts @@ -3,7 +3,6 @@ import { StateCreator } from 'zustand'; import { StoreState } from '@/types'; import { getGoogleMapClass, - getPlaceClass, loadGoogleMapsApi, } from '@/lib/googleMapsAPI-loader'; import { MarkerClusterer } from '@googlemaps/markerclusterer';