DB에서 불러온 값 roof에 적용

This commit is contained in:
김민식 2025-04-08 15:16:44 +09:00
parent c35f3c1adb
commit 91ccfcb20e
2 changed files with 3 additions and 1 deletions

View File

@ -91,6 +91,9 @@ export default function BasicSetting({ id, pos = { x: 50, y: 230 } }) {
return {
...roof,
...roofsStore[index]?.addRoof,
construction: roofsStore[index]?.construction,
trestle: roofsStore[index]?.trestle,
trestleDetail: roofsStore[index]?.trestleDetail,
}
}),
)

View File

@ -263,7 +263,6 @@ const Trestle = forwardRef((props, ref) => {
})
setRoofs(newAddedRoofs)
setSelectedRoof(newAddedRoofs[index])
console.log(newAddedRoofs)
}
const isComplete = async () => {