From 8d15c2391de6682f5a5fa72e5b504f0f66767033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EB=B3=91=EC=B2=A0?= Date: Thu, 19 Mar 2026 10:52:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[review]=20=EA=B3=B5=ED=86=B5=20?= =?UTF-8?q?=EC=BB=B4=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EA=B7=9C=EC=B9=99=20?= =?UTF-8?q?=EC=9C=84=EB=B0=98=20=EC=88=98=EC=A0=95=20(=EC=BD=94=EB=93=9C?= =?UTF-8?q?=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 - NotificationSettings/actions.ts: buildApiUrl() 패턴으로 전환 - NotificationSettings/types.ts: OrderItemVisibility에 approvalRequest 누락 추가 - NotificationSettings/index.tsx: 모듈 스코프 Audio → useRef 전환 - MasterFieldTab/index.tsx: 'use client' 선언 추가 - StatCards.tsx: 6개 이상 그리드 col-span 로직 수정 - ImportInspectionInputModal.tsx: 테스트입력 버튼 dev 환경 게이팅 - api/client.ts, api/index.ts: 422 에러 error.details 폴백 추가 --- .../tabs/MasterFieldTab/index.tsx | 2 + .../ImportInspectionInputModal.tsx | 2 +- src/components/organisms/StatCards.tsx | 2 +- .../settings/NotificationSettings/actions.ts | 7 +- .../settings/NotificationSettings/index.tsx | 70 ++++++++++++------- .../settings/NotificationSettings/types.ts | 2 + src/lib/api/client.ts | 2 +- src/lib/api/index.ts | 2 +- 8 files changed, 55 insertions(+), 34 deletions(-) diff --git a/src/components/items/ItemMasterDataManagement/tabs/MasterFieldTab/index.tsx b/src/components/items/ItemMasterDataManagement/tabs/MasterFieldTab/index.tsx index cad851c1..add97845 100644 --- a/src/components/items/ItemMasterDataManagement/tabs/MasterFieldTab/index.tsx +++ b/src/components/items/ItemMasterDataManagement/tabs/MasterFieldTab/index.tsx @@ -1,3 +1,5 @@ +'use client'; + /** * 항목 탭 컴포넌트 * diff --git a/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx b/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx index 470b893d..3faf92d5 100644 --- a/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx +++ b/src/components/material/ReceivingManagement/ImportInspectionInputModal.tsx @@ -837,7 +837,7 @@ export function ImportInspectionInputModal({
수입검사 - {template && ( + {process.env.NODE_ENV === 'development' && template && (