roofIndex 추가

This commit is contained in:
김민식 2025-04-04 11:32:32 +09:00
parent 1cad8eaf76
commit 15cb2cf270

View File

@ -267,6 +267,7 @@ const Trestle = forwardRef((props, ref) => {
...moduleSelectionData,
roofConstructions: newAddedRoofs.map((roof, index) => {
return {
roofIndex: index,
addRoof: {
...moduleSelectionData.roofConstructions[index]?.addRoof,
...roof.addRoof,