From d8a70fa8802ad066fee68aca54df7fa41461a841 Mon Sep 17 00:00:00 2001
From: rlaks5757 <rlaks5757@gmail.com>
Date: Wed, 2 Apr 2025 11:53:44 +0900
Subject: sample_temp_download_icon, var_list_download_icon 변경
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

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

diff --git a/components/form-data/form-data-report-temp-upload-tab.tsx b/components/form-data/form-data-report-temp-upload-tab.tsx
index c09ade28..5e6179a8 100644
--- a/components/form-data/form-data-report-temp-upload-tab.tsx
+++ b/components/form-data/form-data-report-temp-upload-tab.tsx
@@ -2,6 +2,7 @@
 
 import React, { FC, useState } from "react";
 import { useToast } from "@/hooks/use-toast";
+import { toast as toastMessage } from "sonner";
 import prettyBytes from "pretty-bytes";
 import { X, Loader2 } from "lucide-react";
 import { Badge } from "@/components/ui/badge";
@@ -92,6 +93,7 @@ export const FormDataReportTempUploadTab: FC<
         successCount++;
         setUploadProgress(Math.round((successCount / totalFiles) * 100));
       }
+      toastMessage.success("Template File 업로드 완료!");
     } catch (err) {
       console.error(err);
       toast({
@@ -102,11 +104,12 @@ export const FormDataReportTempUploadTab: FC<
     } finally {
       setIsUploading(false);
       setUploadProgress(0);
+      setSelectedFiles([])
     }
   };
 
   return (
-    <>
+    <div className='flex flex-col gap-4'>
       <div>
         <Label>Vendor Document Template File Upload(.docx)</Label>
         <Dropzone
@@ -164,7 +167,7 @@ export const FormDataReportTempUploadTab: FC<
           업로드
         </Button>
       </DialogFooter>
-    </>
+    </div>
   );
 };
 
-- 
cgit v1.2.3

