diff --git a/src/components/statistics/StatisticsTotal.js b/src/components/statistics/StatisticsTotal.js index 832736d..e38e3ae 100644 --- a/src/components/statistics/StatisticsTotal.js +++ b/src/components/statistics/StatisticsTotal.js @@ -2,8 +2,8 @@ import { Col, Row } from 'reactstrap'; import { FcAlarmClock, FcWorkflow, FcBarChart } from 'react-icons/fc'; export default function StatisticsTotal({ - titleName, totalData, + titleName, totalTitle, parseTime, addCommasToNumber @@ -15,7 +15,7 @@ export default function StatisticsTotal({ }; const renderData = (data, titleName, idx) => { - if (titleName === '비행 통계') { + if (titleName) { if (idx === 0) return parseTime(data); if (idx === 1) return <>{addCommasToNumber(data)}m; return <>{addCommasToNumber(data)}건;