diff --git a/packages/nodes/src/wall/tool.tsx b/packages/nodes/src/wall/tool.tsx index 530472ec1..7b2e0c9c6 100644 --- a/packages/nodes/src/wall/tool.tsx +++ b/packages/nodes/src/wall/tool.tsx @@ -542,7 +542,7 @@ export const WallTool: React.FC = () => { // BoxGeometry stays visible for a frame on top of the // freshly-committed real wall, producing a brief // double-paint at the new wall's position. - wallPreviewRef.current.visible = false + if (wallPreviewRef.current) wallPreviewRef.current.visible = false setDraftMeasurement(null) } }