This commit is contained in:
hyojun.choi 2025-08-08 15:05:24 +09:00
commit 9db8b949ff

View File

@ -262,6 +262,12 @@ export const Orientation = forwardRef((props, ref) => {
setRoofsStore(newRoofs)
}
useEffect(() => {
// selectedModules handleChangeModule
if (moduleList.length > 0 && (!selectedModules || !selectedModules.itemId)) {
handleChangeModule(moduleList[0]);
}
}, [moduleList]); //
return (
<>
<div className="properties-setting-wrap">