From 5870b73785715d1585531e655c06d8c068eb64ac Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 27 Nov 2025 17:53:34 +0900
Subject: (김준회) Revert "(대표님) EDP 작업사항" 태그 가져오기 실패 등 에러로
 인한 Revert 처리
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/form-data-plant/form-data-report-temp-upload-tab.tsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'components/form-data-plant/form-data-report-temp-upload-tab.tsx')

diff --git a/components/form-data-plant/form-data-report-temp-upload-tab.tsx b/components/form-data-plant/form-data-report-temp-upload-tab.tsx
index 41466f90..81186ba4 100644
--- a/components/form-data-plant/form-data-report-temp-upload-tab.tsx
+++ b/components/form-data-plant/form-data-report-temp-upload-tab.tsx
@@ -36,15 +36,14 @@ import { uploadReportTemp } from "@/lib/forms-plant/services";
 const MAX_FILE_SIZE = 3000000;
 
 interface FormDataReportTempUploadTabProps {
-  projectCode: string;
-  packageCode: string;
+  packageId: number;
   formId: number;
   uploaderType: string;
 }
 
 export const FormDataReportTempUploadTab: FC<
   FormDataReportTempUploadTabProps
-> = ({ projectCode,packageCode, formId, uploaderType }) => {
+> = ({ packageId, formId, uploaderType }) => {
   const { toast } = useToast();
   const params = useParams();
   const lng = (params?.lng as string) || "ko";
@@ -95,7 +94,7 @@ export const FormDataReportTempUploadTab: FC<
         formData.append("customFileName", file.name);
         formData.append("uploaderType", uploaderType);
 
-        await uploadReportTemp(projectCode, packageCode, formId, formData);
+        await uploadReportTemp(packageId, formId, formData);
 
         successCount++;
         setUploadProgress(Math.round((successCount / totalFiles) * 100));
-- 
cgit v1.2.3

