diff --git a/apps/dm/app/(with-layout)/status/_components/SewageStatusSection.tsx b/apps/dm/app/(with-layout)/status/_components/SewageStatusSection.tsx index 244220440..150937636 100644 --- a/apps/dm/app/(with-layout)/status/_components/SewageStatusSection.tsx +++ b/apps/dm/app/(with-layout)/status/_components/SewageStatusSection.tsx @@ -173,8 +173,8 @@ export default function SewageStatusSection() { const renderCells = ( rowIdx: number, - row: DmStatusLawYearsType | DmStatusUsgYearsType, - data: DmStatusLawYearsType[] | DmStatusUsgYearsType[], + row: DmStatusLawYearsType, + data: DmStatusLawYearsType[], headers: TableHeaderType[], unitSize: number = 1, // 단위 변경 1000 인 경우, 100,000 -> 100 으로 변경 ) => { @@ -316,7 +316,7 @@ export default function SewageStatusSection() { return headers.map((header, index) => { let value = rowData[header.id]; - value = index === 0 ? value : formatUsage(value as string | number, 1000, 1); + value = (index === 0||index ===9) ? value : formatUsage(value as string | number, 1000, 1); value = value === "0.0"? "-" : value; return (