diff --git a/src/components/floor-plan/FloorPlan.jsx b/src/components/floor-plan/FloorPlan.jsx index 513f870a..9f7c6641 100644 --- a/src/components/floor-plan/FloorPlan.jsx +++ b/src/components/floor-plan/FloorPlan.jsx @@ -16,6 +16,7 @@ import PropertiesSetting from '@/components/floor-plan/modal/outerlinesetting/Pr export default function FloorPlan() { const [showCanvasSettingModal, setShowCanvasSettingModal] = useState(false) const [showOutlineModal, setShowOutlineModal] = useState(false) + const [showPropertiesSettingModal, setShowPropertiesSettingModal] = useState(false) const globalLocaleState = useRecoilValue(globalLocaleStore) const { get } = useAxios(globalLocaleState) @@ -76,6 +77,10 @@ export default function FloorPlan() { setShowDotLineGridModal, } + const propertiesSettingProps = { + setShowPropertiesSettingModal, + } + useEffect(() => {}, [showOutlineModal]) return ( @@ -88,7 +93,7 @@ export default function FloorPlan() { {/*{showOutlineModal && }*/} {showOutlineModal && } {showDotLineGridModal && } - + {showPropertiesSettingModal && } > diff --git a/src/components/floor-plan/modal/outerlinesetting/PropertiesSetting.js b/src/components/floor-plan/modal/outerlinesetting/PropertiesSetting.js index 1ff975a7..c4950666 100644 --- a/src/components/floor-plan/modal/outerlinesetting/PropertiesSetting.js +++ b/src/components/floor-plan/modal/outerlinesetting/PropertiesSetting.js @@ -1,14 +1,18 @@ import WithDraggable from '@/components/common/draggable/WithDraggable' import { useMessage } from '@/hooks/useMessage' -export default function PropertiesSetting() { +export default function PropertiesSetting(props) { const { getMessage } = useMessage() + const { setShowPropertiesSettingModal } = props + return ( {getMessage('modal.canvas.setting.wallline.properties.setting')} - 닫기 + setShowPropertiesSettingModal(false)}> + 닫기 + {getMessage('modal.canvas.setting.wallline.properties.setting.info')}