From e47caf85b6d9d325a9291aba10ba7d50c6ab5c1f Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Wed, 1 Oct 2025 01:43:30 +0000
Subject: (고건) 협력업체 평가 대상 관리 페이지 내 엑셀 템플릿 다운로드 및 엑셀
 데이터 업로드 기능 추가
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/risk-management/table/risks-table-toolbar-actions.tsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'lib/risk-management/table/risks-table-toolbar-actions.tsx')

diff --git a/lib/risk-management/table/risks-table-toolbar-actions.tsx b/lib/risk-management/table/risks-table-toolbar-actions.tsx
index a55634b5..821ad49f 100644
--- a/lib/risk-management/table/risks-table-toolbar-actions.tsx
+++ b/lib/risk-management/table/risks-table-toolbar-actions.tsx
@@ -7,7 +7,6 @@ import { Download, FileInput, Mail, Upload } from 'lucide-react';
 import { exportTableToExcel } from '@/lib/export';
 import { generateRiskEventsTemplate, importRiskEventsExcel } from '../service';
 import { toast } from 'sonner';
-import { type DataTableRowAction } from '@/types/table';
 import { type RisksView } from '@/db/schema';
 import { type Table } from '@tanstack/react-table';
 
@@ -89,12 +88,12 @@ function RisksTableToolbarActions(props: RisksTableToolbarActionsProps) {
     try {
       const buffer = await generateRiskEventsTemplate();
       const blob = new Blob([buffer], {
-        type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
+        type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
       });
       const url = URL.createObjectURL(blob);
       const link = document.createElement('a');
       link.href = url;
-      link.download = "협력업체_리스크_템플릿.xlsx";
+      link.download = '협력업체_리스크_템플릿.xlsx';
       link.click();
       URL.revokeObjectURL(url);
       toast.success('템플릿 파일이 다운로드되었습니다.');
-- 
cgit v1.2.3

