|
|
|
@ -35,9 +35,8 @@ const ControlReportDetail = props => {
|
|
|
|
|
//const { controlWheather } = useSelector(state => state.ControlGpWeatherState);
|
|
|
|
|
const { controlGpWarnLog } = useSelector(state => state.controlGpLogState); |
|
|
|
|
|
|
|
|
|
function weathericon() { |
|
|
|
|
|
|
|
|
|
function a() { |
|
|
|
|
function weathericon() { |
|
|
|
|
if (controlDetail) { |
|
|
|
|
let wheatherDetail = controlDetail.items.item; |
|
|
|
|
let skyDetail = wheatherDetail[6].fcstValue; |
|
|
|
@ -296,7 +295,7 @@ const ControlReportDetail = props => {
|
|
|
|
|
<td> |
|
|
|
|
{controlDetail?.items.item[12].fcstTime.substring(0, 2)}시 |
|
|
|
|
</td> |
|
|
|
|
<td>{a()}</td> |
|
|
|
|
<td>{weathericon()}</td> |
|
|
|
|
<td>{controlDetail?.items.item[12].fcstValue}℃</td> |
|
|
|
|
<td> |
|
|
|
|
<Navigation2 |
|
|
|
@ -320,6 +319,6 @@ const ControlReportDetail = props => {
|
|
|
|
|
/> |
|
|
|
|
</div> |
|
|
|
|
); |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
export default ControlReportDetail; |