roofMaterial 추가 전에 호출 시 에러 수정
This commit is contained in:
parent
fe203f2905
commit
81c5baf56b
@ -268,7 +268,7 @@ export const usePolygon = () => {
|
||||
surfaceCompass: polygon.surfaceCompass,
|
||||
moduleCompass: polygon.moduleCompass,
|
||||
visible: isFlowDisplay,
|
||||
pitch: polygon.roofMaterial.pitch ?? 4,
|
||||
pitch: polygon.roofMaterial?.pitch ?? 4,
|
||||
parentId: polygon.id,
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user