From 57b33fbb20c59c4af33e7e31e469940000e75e0b Mon Sep 17 00:00:00 2001 From: kyw0716 Date: Wed, 16 Aug 2023 01:53:02 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=98=A4=EB=A5=98=20=EC=9B=90?= =?UTF-8?q?=EC=9D=B8=20=ED=8C=8C=EC=95=85=EC=9D=84=20=EC=9C=84=ED=95=9C=20?= =?UTF-8?q?console.log=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [#506] --- frontend/src/components/google-maps/map/CarFfeineMap.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/google-maps/map/CarFfeineMap.tsx b/frontend/src/components/google-maps/map/CarFfeineMap.tsx index f58495d3a..b483a569b 100644 --- a/frontend/src/components/google-maps/map/CarFfeineMap.tsx +++ b/frontend/src/components/google-maps/map/CarFfeineMap.tsx @@ -78,8 +78,9 @@ const UserFilterListener = () => { const { setAllServerStationFilters } = serverStationFilterAction; useEffect(() => { - if (memberTokenStore.getState() !== '' && memberFilters !== undefined) { + if (memberFilters !== undefined) { setAllServerStationFilters(memberFilters); + console.log(serverStationFilterAction.getAllServerStationFilters()); } queryClient.invalidateQueries([{ queryKey: [QUERY_KEY_STATIONS] }]);