diff --git a/src/components/basis/flight/plan/FlightPlanAreaMap.js b/src/components/basis/flight/plan/FlightPlanAreaMap.js index 27b5465..6cd5ad3 100644 --- a/src/components/basis/flight/plan/FlightPlanAreaMap.js +++ b/src/components/basis/flight/plan/FlightPlanAreaMap.js @@ -365,9 +365,6 @@ const FlightPlanAreaMap = props => { > 날씨 정보 -

- 오늘 날짜 기준으로 3일 이내 날짜만 조회 가능합니다. -

diff --git a/src/containers/basis/flight/plan/WeatherContainer.js b/src/containers/basis/flight/plan/WeatherContainer.js index e83781c..287ea58 100644 --- a/src/containers/basis/flight/plan/WeatherContainer.js +++ b/src/containers/basis/flight/plan/WeatherContainer.js @@ -145,83 +145,95 @@ export function WeatherContainer({ mapAreaCoordList }) { return ( <> {loading ? ( -
-
- - Loading... -
+
+ + Loading...
) : ( -
- {Object.keys(dayData).length != 0 && - mapAreaCoordList[0]?.coordList[0].lat != 0 ? ( -
-
-
-
- 검색하신 지역의 날씨 정보입니다. - - {' '} - {weather.area1 != undefined - ? `${weather.area1} ${weather.area2} ${weather.area3} ${weather.landNum}` - : `선택하신 좌표는 없는 주소입니다.`} - -
+ <> +

+ 오늘 날짜 기준으로 3일 이내 날짜만 조회 가능합니다. +

+
+ {Object.keys(dayData).length != 0 && + mapAreaCoordList[0]?.coordList[0].lat != 0 ? ( +
+
+
+
+ 검색하신 지역의 날씨 정보입니다. + + {' '} + {weather.area1 != undefined + ? `${weather.area1} ${weather.area2} ${weather.area3} ${weather.landNum}` + : `선택하신 좌표는 없는 주소입니다.`} + +
- {weather.area1 != undefined ? ( - <> -
-
    -
  • toggle('1')} - > - 오늘 -
  • -
  • toggle('2')} - > - 내일 -
  • -
  • toggle('3')} - > - 모레 -
  • -
-
- {activeTab == 1 ? ( -
- -
- ) : ( - <> - )} - {activeTab == 2 ? ( -
- -
- ) : ( - <> - )} - {activeTab == 3 ? ( -
- + {weather.area1 != undefined ? ( + <> +
+
    +
  • toggle('1')} + > + 오늘 +
  • +
  • toggle('2')} + > + 내일 +
  • +
  • toggle('3')} + > + 모레 +
  • +
- ) : ( - <> - )} - - ) : null} + {activeTab == 1 ? ( +
+ +
+ ) : ( + <> + )} + {activeTab == 2 ? ( +
+ +
+ ) : ( + <> + )} + {activeTab == 3 ? ( +
+ +
+ ) : ( + <> + )} + + ) : null} +
-
- ) : null} -
+ ) : null} +
+ )} );