Skip to content

Commit

Permalink
refactor: 오류 원인 파악을 위한 console.log 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
kyw0716 committed Aug 15, 2023
1 parent a1d4260 commit 57b33fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/google-maps/map/CarFfeineMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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] }]);
Expand Down

0 comments on commit 57b33fb

Please sign in to comment.