빌드에러 수정

This commit is contained in:
Your Name
2025-07-25 18:34:03 +09:00
parent c43b5521ae
commit 83cb4ec7fa
+1 -5
View File
@@ -955,8 +955,6 @@ export const dashBoardReducer:(set:(fn: (state: DashBoardType) => DashBoardType)
/** 시설정보 및 운영현황 - 계획정보 */
searchPlanInfo : async (targetYear: string, fcltyCd: string) => {
const res = await fetchFacilityPlan(targetYear, fcltyCd);
console.log(res);
let tmpArray:number[] = [];
let minDiff=9999999;
let minIndex;
res.forEach((el:any, idx) => {
@@ -966,9 +964,7 @@ export const dashBoardReducer:(set:(fn: (state: DashBoardType) => DashBoardType)
}
});
console.log('minIndex : ', minIndex);
let rtnPlanData = res[minIndex];
console.log('minData : ', res[minIndex]);
const rtnPlanData = res[minIndex];
planFcltyList.map((el, index) => {
planYearList = [];