fix: [review] 공통 컴포넌트 규칙 위반 수정 (코드리뷰 반영)

- 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 폴백 추가
This commit is contained in:
유병철
2026-03-19 10:52:42 +09:00
parent b25e7d53b6
commit 8d15c2391d
8 changed files with 55 additions and 34 deletions

View File

@@ -44,7 +44,7 @@ export function StatCards({ stats }: StatCardsProps) {
} ${
stat.isActive ? 'border-primary bg-primary/5' : ''
} ${
count % 2 === 1 && index === count - 1 ? 'col-span-2 sm:col-span-1' : ''
count % 2 === 1 && index === count - 1 && count < 6 ? 'col-span-2 sm:col-span-1' : ''
}`}
onClick={stat.onClick}
>