From 92b5a4a09777206dcc2cbeba5f0942bee5990987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Wed, 11 Mar 2026 22:47:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[=ED=92=88=EC=A7=88=EA=B2=80=EC=82=AC]?= =?UTF-8?q?=20LegacyPhotoUpload=20images=20undefined=20=EC=97=90=EB=9F=AC?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit images prop에 기본값 [] 추가하여 initialData에 productImages가 없을 때 TypeError 방지 --- .../InspectionManagement/ProductInspectionInputModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/quality/InspectionManagement/ProductInspectionInputModal.tsx b/src/components/quality/InspectionManagement/ProductInspectionInputModal.tsx index efab49bc..6ff11a8c 100644 --- a/src/components/quality/InspectionManagement/ProductInspectionInputModal.tsx +++ b/src/components/quality/InspectionManagement/ProductInspectionInputModal.tsx @@ -742,7 +742,7 @@ function LegacyRow({ } function LegacyPhotoUpload({ - images, + images = [], onChange, maxCount, }: {