From 73a5211469868af94cb0ac6a9e7949c0793b4a50 Mon Sep 17 00:00:00 2001 From: Andy Hong Date: Mon, 2 Mar 2026 13:53:37 +0900 Subject: [PATCH 1/7] Apply suggested fix to src/components/common/FileDropzone.tsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/components/common/FileDropzone.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/FileDropzone.tsx b/src/components/common/FileDropzone.tsx index a3f40b40..318a2dba 100644 --- a/src/components/common/FileDropzone.tsx +++ b/src/components/common/FileDropzone.tsx @@ -138,7 +138,7 @@ export default function FileDropzone({
Date: Mon, 2 Mar 2026 13:53:37 +0900 Subject: [PATCH 2/7] Apply suggested fix to src/components/common/FileDropzone.tsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/components/common/FileDropzone.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/common/FileDropzone.tsx b/src/components/common/FileDropzone.tsx index 318a2dba..b26f8601 100644 --- a/src/components/common/FileDropzone.tsx +++ b/src/components/common/FileDropzone.tsx @@ -109,7 +109,6 @@ export default function FileDropzone({ const handleCancelUploading = (e: React.MouseEvent) => { e.preventDefault(); e.stopPropagation(); - if (typeof onCancelUpload !== 'function') return; onCancelUpload(); }; From a954b8d47b2bce611fc01c14a33d8a48df2518ff Mon Sep 17 00:00:00 2001 From: Andy Hong Date: Mon, 2 Mar 2026 13:53:38 +0900 Subject: [PATCH 3/7] Apply suggested fix to src/components/common/FileDropzone.tsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/components/common/FileDropzone.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/common/FileDropzone.tsx b/src/components/common/FileDropzone.tsx index b26f8601..8c602f53 100644 --- a/src/components/common/FileDropzone.tsx +++ b/src/components/common/FileDropzone.tsx @@ -101,7 +101,6 @@ export default function FileDropzone({ const file = e.dataTransfer.files?.item(0); if (!file) return; - if (typeof onFileSelected !== 'function') return; onFileSelected(file); }; From 45877ea6791261f2bfd6dc44c10c52ecf6dddeee Mon Sep 17 00:00:00 2001 From: Andy Hong Date: Mon, 2 Mar 2026 13:53:38 +0900 Subject: [PATCH 4/7] Apply suggested fix to src/components/common/FileDropzone.tsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/components/common/FileDropzone.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/common/FileDropzone.tsx b/src/components/common/FileDropzone.tsx index 8c602f53..6608ec38 100644 --- a/src/components/common/FileDropzone.tsx +++ b/src/components/common/FileDropzone.tsx @@ -56,7 +56,6 @@ export default function FileDropzone({ const file = fileList.item(0); if (!file) return; - if (typeof onFileSelected !== 'function') return; onFileSelected(file); if (inputRef.current) inputRef.current.value = ''; // 같은 파일 다시 선택 가능하게 (선택창 value 초기화) From f99b2c53e18388c427280d9c47822b51c127c8b1 Mon Sep 17 00:00:00 2001 From: Andy Hong Date: Mon, 2 Mar 2026 13:53:38 +0900 Subject: [PATCH 5/7] Apply suggested fix to src/components/common/FileDropzone.tsx from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- src/components/common/FileDropzone.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/common/FileDropzone.tsx b/src/components/common/FileDropzone.tsx index 6608ec38..57c09126 100644 --- a/src/components/common/FileDropzone.tsx +++ b/src/components/common/FileDropzone.tsx @@ -36,8 +36,7 @@ export default function FileDropzone({ const dragCounter = useRef(0); const [isDragging, setIsDragging] = useState(false); const isUploading = currentStep === 'uploading' || currentStep === 'finishing'; - const isDisabled = disabled; - const isBlocked = isDisabled || isUploading; // 업로드 중에는 모든 입력 차단 + const isBlocked = disabled || isUploading; // 업로드 중에는 모든 입력 차단 useEffect(() => { if (error) showToast.warning('업로드에 실패했습니다.', error); From d2d8fdff051fb20df91d3f8da23f099c3607a693 Mon Sep 17 00:00:00 2001 From: Andy Hong Date: Mon, 2 Mar 2026 13:57:51 +0900 Subject: [PATCH 6/7] =?UTF-8?q?fix:=20=EB=B9=8C=EB=93=9C=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/FileDropzone.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/FileDropzone.tsx b/src/components/common/FileDropzone.tsx index 57c09126..36fb58f0 100644 --- a/src/components/common/FileDropzone.tsx +++ b/src/components/common/FileDropzone.tsx @@ -143,7 +143,7 @@ export default function FileDropzone({ onDrop={handleDrop} className={clsx( 'group relative w-full overflow-hidden rounded-2xl border bg-white px-8 py-14 shadow-sm transition focus:ring-1 focus:ring-gray-200', - isDisabled && !isUploading && 'cursor-not-allowed opacity-60', + disabled && !isUploading && 'cursor-not-allowed opacity-60', isUploading && 'cursor-default', !isBlocked && 'cursor-pointer hover:bg-gray-100', showDragOverlay ? 'border-gray-900 ring-1 ring-gray-200' : 'border-gray-200', From f0b8dec459f7b01e4cd0c97b7cbaedcb65f6ee69 Mon Sep 17 00:00:00 2001 From: Andy Hong Date: Mon, 2 Mar 2026 14:01:15 +0900 Subject: [PATCH 7/7] =?UTF-8?q?fix:=20=EC=A0=9C=EB=AF=B8=EB=82=98=EC=9D=B4?= =?UTF-8?q?=20=EB=A6=AC=EB=B7=B0=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/components/common/FileDropzone.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/FileDropzone.tsx b/src/components/common/FileDropzone.tsx index 36fb58f0..33a211fe 100644 --- a/src/components/common/FileDropzone.tsx +++ b/src/components/common/FileDropzone.tsx @@ -134,7 +134,7 @@ export default function FileDropzone({