diff --git a/frontend/components/screen/RealtimePreviewDynamic.tsx b/frontend/components/screen/RealtimePreviewDynamic.tsx index b488de72..93872289 100644 --- a/frontend/components/screen/RealtimePreviewDynamic.tsx +++ b/frontend/components/screen/RealtimePreviewDynamic.tsx @@ -272,19 +272,15 @@ export const RealtimePreviewDynamic: React.FC = ({ right: undefined, }; - // 디버깅: 크기 정보 로그 - if (component.id && isSelected) { - console.log("📐 RealtimePreview baseStyle:", { - componentId: component.id, - componentType: (component as any).componentType || component.type, - sizeWidth: size?.width, - sizeHeight: size?.height, - styleWidth: componentStyle?.width, - styleHeight: componentStyle?.height, - baseStyleWidth: baseStyle.width, - baseStyleHeight: baseStyle.height, - }); - } + // 크기 정보는 필요시에만 디버깅 (개발 중 문제 발생 시 주석 해제) + // if (component.id && isSelected) { + // console.log("📐 RealtimePreview baseStyle:", { + // componentId: component.id, + // componentType: (component as any).componentType || component.type, + // sizeWidth: size?.width, + // sizeHeight: size?.height, + // }); + // } // 🔍 DOM 렌더링 후 실제 크기 측정 const innerDivRef = React.useRef(null); diff --git a/frontend/components/screen/panels/UnifiedPropertiesPanel.tsx b/frontend/components/screen/panels/UnifiedPropertiesPanel.tsx index fce80d48..6c77b4f1 100644 --- a/frontend/components/screen/panels/UnifiedPropertiesPanel.tsx +++ b/frontend/components/screen/panels/UnifiedPropertiesPanel.tsx @@ -922,11 +922,8 @@ export const UnifiedPropertiesPanel: React.FC = ({ // 상세 설정 탭 (DetailSettingsPanel의 전체 로직 통합) const renderDetailTab = () => { - console.log("🔍 [renderDetailTab] selectedComponent.type:", selectedComponent.type); - // 1. DataTable 컴포넌트 if (selectedComponent.type === "datatable") { - console.log("✅ [renderDetailTab] DataTable 컴포넌트"); return ( = ({ // 5. 새로운 컴포넌트 시스템 (type: "component") if (selectedComponent.type === "component") { - console.log("✅ [renderDetailTab] Component 타입"); const componentId = (selectedComponent as any).componentType || selectedComponent.componentConfig?.type; const webType = selectedComponent.componentConfig?.webType; @@ -1043,7 +1039,6 @@ export const UnifiedPropertiesPanel: React.FC = ({ tables={tables} menuObjid={menuObjid} // 🆕 메뉴 OBJID 전달 onChange={(newConfig) => { - console.log("🔄 DynamicComponentConfigPanel onChange:", newConfig); // 개별 속성별로 업데이트하여 다른 속성과의 충돌 방지 Object.entries(newConfig).forEach(([key, value]) => { handleUpdate(`componentConfig.${key}`, value);