빌드에러 수정
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user