diff --git a/src/containers/statistics/AbnormalSituationContainer.js b/src/containers/statistics/AbnormalSituationContainer.js index 4d7e8425..b202c101 100644 --- a/src/containers/statistics/AbnormalSituationContainer.js +++ b/src/containers/statistics/AbnormalSituationContainer.js @@ -23,7 +23,7 @@ export default function AbnormalSituationContainer({ labelColor }) { const [searchType, setSearchType] = useState({ - abnormalType: 'offCourse', + abnormalType: '비행경로이탈', dateType: 'year', year: new Date().getFullYear(), month: new Date().getMonth() + 1, @@ -34,7 +34,7 @@ export default function AbnormalSituationContainer({ day: [] }); - const titleName = '비행 통계'; + const titleName = '비정상상황 통계'; useEffect(() => { const { year, month } = searchType; @@ -49,7 +49,8 @@ export default function AbnormalSituationContainer({ (type, val) => { setSearchType({ ...searchType, - [type]: type === 'dateType' || type === 'flightType' ? val : Number(val) + [type]: + type === 'dateType' || type === 'abnormalType' ? val : Number(val) }); }, [searchType] @@ -330,15 +331,13 @@ export default function AbnormalSituationContainer({ ) } > - - - + @@ -358,7 +357,7 @@ export default function AbnormalSituationContainer({