From 724002f7b8bbe67d23fd44c308e3e4947b840d5c Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Tue, 18 Feb 2025 17:46:09 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A7=80=EB=B6=95=EC=9E=AC=EC=84=A0=ED=83=9D?= =?UTF-8?q?=20=ED=8C=9D=EC=97=85=20=EB=82=B4=EC=9A=A9=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../floor-plan/modal/roofAllocation/RoofAllocationSetting.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/floor-plan/modal/roofAllocation/RoofAllocationSetting.jsx b/src/components/floor-plan/modal/roofAllocation/RoofAllocationSetting.jsx index 83310c2e..f74ef018 100644 --- a/src/components/floor-plan/modal/roofAllocation/RoofAllocationSetting.jsx +++ b/src/components/floor-plan/modal/roofAllocation/RoofAllocationSetting.jsx @@ -25,6 +25,7 @@ export default function RoofAllocationSetting(props) { onAddRoofMaterial, onDeleteRoofMaterial, roofMaterials, + currentRoofMaterial, setCurrentRoofMaterial, roofList, handleDefaultRoofMaterial, @@ -67,7 +68,7 @@ export default function RoofAllocationSetting(props) { options={roofMaterials.map((roof) => { return { ...roof, name: globalLocale === 'ko' ? roof.roofMatlNm : roof.roofMatlNmJp } })} - value={roofMaterials[0]} + value={currentRoofMaterial} onChange={(e) => { // const selected = roofMaterials.find((roofMaterial) => roofMaterial.roofMatlCd === e.id) setCurrentRoofMaterial(e)