From f82b3fe710f97cd7fbed4abd440ea6120e23aec8 Mon Sep 17 00:00:00 2001 From: hhjk00 Date: Wed, 15 Nov 2023 14:20:11 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A1=B0=EA=B1=B4=EB=AC=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/statistics/StatisticsTotal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)}건;