Skip to content

Commit

Permalink
[FE][Refactor] 불필요한 주석 제거
Browse files Browse the repository at this point in the history
- 불필요한 주석 제거
  • Loading branch information
happyhyep committed Dec 5, 2024
1 parent e9756d6 commit c918879
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,6 @@ export const MapCanvasForDraw = ({
setMap(mapInstance);
setProjection(mapInstance.getProjection());

// TODO: 필요 없을 것으로 예상, 혹시나해서 남겨둔 것이니 필요 없다 판단되면 제거 필요
// naver.maps.Event.addListener(mapInstance, 'zoom_changed', () => {
// setProjection(mapInstance.getProjection());
// updateCanvasSize();
// redrawCanvas();
// });
//
// naver.maps.Event.addListener(mapInstance, 'center_changed', () => {
// setProjection(mapInstance.getProjection());
// redrawCanvas();
// });

return () => {
mapInstance.destroy();
};
Expand Down

0 comments on commit c918879

Please sign in to comment.