From bab3039d6e669ed5dbf45ef2d362a8deebea913d Mon Sep 17 00:00:00 2001 From: ysCha Date: Tue, 5 Aug 2025 11:29:59 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=AB=EC=9E=90=EC=9E=85=EB=A0=A5=20''=3D>?= =?UTF-8?q?=200=20=EC=9C=BC=EB=A1=9C=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modal/roofAllocation/ContextRoofAllocationSetting.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/floor-plan/modal/roofAllocation/ContextRoofAllocationSetting.jsx b/src/components/floor-plan/modal/roofAllocation/ContextRoofAllocationSetting.jsx index dd8b7003..01f08028 100644 --- a/src/components/floor-plan/modal/roofAllocation/ContextRoofAllocationSetting.jsx +++ b/src/components/floor-plan/modal/roofAllocation/ContextRoofAllocationSetting.jsx @@ -186,7 +186,7 @@ export default function ContextRoofAllocationSetting(props) { handleChangeInput(e, 'hajebichi', index)} /> @@ -205,8 +205,8 @@ export default function ContextRoofAllocationSetting(props) { // handleChangeInput(e, currentAngleType === 'slope' ? 'pitch' : 'angle', index) handleChangePitch(e, index) }} - value={currentAngleType === 'slope' ? roof.pitch : roof.angle} - defaultValue={currentAngleType === 'slope' ? roof.pitch : roof.angle} + value={currentAngleType === 'slope' ? (roof.pitch || '0') : (roof.angle || '0')} + defaultValue={currentAngleType === 'slope' ? (roof.pitch || '0') : (roof.angle || '0')} /> {pitchText}