Merge remote-tracking branch 'origin/master'

This commit is contained in:
2026-02-09 21:32:50 +09:00
22 changed files with 588 additions and 619 deletions

View File

@@ -13,7 +13,7 @@
* - 자재 투입 목록: 토글 (쉐브론 아이콘 + 텍스트)
*/
import { useState, useCallback } from 'react';
import { useState, useCallback, memo } from 'react';
import { ChevronDown, ChevronUp, Pencil, Trash2, ImageIcon } from 'lucide-react';
import { Card, CardContent } from '@/components/ui/card';
import { Badge } from '@/components/ui/badge';
@@ -43,7 +43,7 @@ interface WorkItemCardProps {
onInspectionToggle?: (itemId: string, checked: boolean) => void;
}
export function WorkItemCard({
export const WorkItemCard = memo(function WorkItemCard({
item,
onStepClick,
onEditMaterial,
@@ -230,7 +230,7 @@ export function WorkItemCard({
</CardContent>
</Card>
);
}
});
// ===== 스크린 전용: 절단정보 =====
function ScreenCuttingInfo({ width, sheets }: { width: number; sheets: number }) {