Skip to content

Commit

Permalink
🔧 WV-46 fix : useEffect 의존성 경고 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinviz committed Jan 16, 2025
1 parent cc5b3b7 commit d5a7f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/common/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const KakaoMap = ({ location }: { location: number[] }) => {
map.addControl(mapTypeControl, window.kakao.maps.ControlPosition.TOPRIGHT);
});
}
}, [])
}, [location])

return (
<div className="flex justify-center">
Expand Down

0 comments on commit d5a7f1d

Please sign in to comment.