fo: 사용하지 않는 변수 정리

This commit is contained in:
2026-01-09 13:19:34 +09:00
parent e5a750e8b9
commit b960a03361
+10 -10
View File
@@ -729,15 +729,15 @@ const fetchFacilityPlan = async (targetYear: string | undefined, fcltyCd: string
};
// 시설들 월별 물사용량 정보 조회
const fetchWtrUsgYmList = async (searchYear: string | undefined, fcltCdList: string[]): Promise<WtrUsgYmProps | null> => {
try {
const res = await postFetch('fo', '/fclt/flow/wtrUsgYm/' + searchYear, fcltCdList);
return res;
} catch (error) {
console.error('시설들 월별 물사용량 데이터를 가져오는데 실패했습니다:', error);
return null;
}
};
// const fetchWtrUsgYmList = async (searchYear: string | undefined, fcltCdList: string[]): Promise<WtrUsgYmProps | null> => {
// try {
// const res = await postFetch('fo', '/fclt/flow/wtrUsgYm/' + searchYear, fcltCdList);
// return res;
// } catch (error) {
// console.error('시설들 월별 물사용량 데이터를 가져오는데 실패했습니다:', error);
// return null;
// }
// };
// 주요그래프 데이터
const fetchMainGraph = async (searchYear: string | undefined, fcltyCd: string | undefined) => {
@@ -1466,7 +1466,7 @@ export const dashBoardReducer = (
},
}));
const fcltCdList = [fcltyCd];
// const fcltCdList = [fcltyCd];
//const wtrUsgRes: any = await fetchWtrUsgYmList(searchYear, fcltCdList); // 수용가의 실제 물사용량
const operList = {