console.log 주석 처리 - 개발환경 정리
- menu, company, screenMng, i18n, tableMng 모듈 console 주석 처리 - 총 55개 파일 수정 - 빌드 에러 수정 완료 - 백엔드 서버 정상 작동 확인 관련 파일: - frontend/components/admin/MenuManagement.tsx - frontend/components/admin/MenuFormModal.tsx - frontend/components/admin/ScreenAssignmentTab.tsx - frontend/components/admin/CompanyTable.tsx - frontend/components/admin/MultiLang.tsx - frontend/app/(main)/admin/tableMng/page.tsx - 기타 screen 관련 컴포넌트 49개 파일
This commit is contained in:
@@ -59,9 +59,9 @@ export const useCompanyManagement = () => {
|
||||
const data = await companyAPI.getList(searchParams);
|
||||
setCompanies(data);
|
||||
|
||||
console.log("✅ 실제 DB에서 회사 목록 조회 성공:", data.length, "개");
|
||||
// console.log("✅ 실제 DB에서 회사 목록 조회 성공:", data.length, "개");
|
||||
} catch (err) {
|
||||
console.error("❌ 회사 목록 조회 실패:", err);
|
||||
// console.error("❌ 회사 목록 조회 실패:", err);
|
||||
setError(err instanceof Error ? err.message : "회사 목록 조회에 실패했습니다.");
|
||||
setCompanies([]);
|
||||
} finally {
|
||||
@@ -75,9 +75,9 @@ export const useCompanyManagement = () => {
|
||||
try {
|
||||
const data = await companyAPI.getAllDiskUsage();
|
||||
setDiskUsageInfo(data);
|
||||
console.log("✅ 디스크 사용량 조회 성공:", data.summary);
|
||||
// console.log("✅ 디스크 사용량 조회 성공:", data.summary);
|
||||
} catch (err) {
|
||||
console.error("❌ 디스크 사용량 조회 실패:", err);
|
||||
// console.error("❌ 디스크 사용량 조회 실패:", err);
|
||||
// 디스크 사용량 조회 실패는 에러로 처리하지 않음 (선택적 기능)
|
||||
} finally {
|
||||
setIsDiskUsageLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user