From fbb3b7f05737f9571b04b0a8f4f15c0928de8545 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 7 Jul 2025 01:43:36 +0000
Subject: (대표님) 변경사항 20250707 10시 43분
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/form-data/temp-download-btn.tsx | 46 ------------------------------
 1 file changed, 46 deletions(-)
 delete mode 100644 components/form-data/temp-download-btn.tsx

(limited to 'components/form-data/temp-download-btn.tsx')

diff --git a/components/form-data/temp-download-btn.tsx b/components/form-data/temp-download-btn.tsx
deleted file mode 100644
index 793022d6..00000000
--- a/components/form-data/temp-download-btn.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-"use client";
-
-import React from "react";
-import Image from "next/image";
-import { useToast } from "@/hooks/use-toast";
-import { toast as toastMessage } from "sonner";
-import { saveAs } from "file-saver";
-import { Button } from "@/components/ui/button";
-import { getReportTempFileData } from "@/lib/forms/services";
-
-export const TempDownloadBtn = () => {
-  const { toast } = useToast();
-
-  const downloadTempFile = async () => {
-    try {
-      const { fileName, fileType, base64 } = await getReportTempFileData();
-
-      saveAs(`data:${fileType};base64,${base64}`, fileName);
-
-      toastMessage.success("Report Sample File 다운로드 완료!");
-    } catch (err) {
-      console.log(err);
-      toast({
-        title: "Error",
-        description: "Sample File을 찾을 수가 없습니다.",
-        variant: "destructive",
-      });
-    }
-  };
-  return (
-    <Button
-      variant="outline"
-      className="relative px-[8px] py-[6px] flex-1"
-      aria-label="Template Sample Download"
-      onClick={downloadTempFile}
-    >
-      <Image
-        src="/icons/temp_sample_icon.svg"
-        alt="Template Sample Download Icon"
-        width={16}
-        height={16}
-      />
-      <div className='text-[12px]'>Sample Template Download</div>
-    </Button>
-  );
-};
\ No newline at end of file
-- 
cgit v1.2.3

