Browse Source

비행구역 - 버그 수정

feature/auth
junh_eee(이준희) 2 years ago
parent
commit
5dd8542aba
  1. 6
      src/components/map/naver/draw/FlightPlanDraw.js

6
src/components/map/naver/draw/FlightPlanDraw.js

@ -67,8 +67,10 @@ export const FlightPlanDraw = props => {
}, [props.areaCoordList]) }, [props.areaCoordList])
useEffect(() => { useEffect(() => {
props.handleConfirm(props.areaCoordList); if(figure) {
setAreaDetail(props.areaCoordList); props.handleConfirm(props.areaCoordList);
setAreaDetail(props.areaCoordList);
}
}, [figure]) }, [figure])
useEffect(() => { useEffect(() => {

Loading…
Cancel
Save