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:
@@ -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}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user