Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
Reference in New Issue
Block a user