清理调试日志

This commit is contained in:
YHH
2025-10-16 12:21:18 +08:00
parent 345ef70972
commit 6bcfd48a2f
4 changed files with 1 additions and 36 deletions

View File

@@ -36,7 +36,6 @@ export function EntityInspector({ entityStore: _entityStore, messageHub }: Entit
const handleEntityDetails = (event: Event) => {
const customEvent = event as CustomEvent;
const details = customEvent.detail;
console.log('[EntityInspector] Received entity details:', details);
setRemoteEntityDetails(details);
};
@@ -61,9 +60,7 @@ export function EntityInspector({ entityStore: _entityStore, messageHub }: Entit
return;
}
console.log('Attempting to create component:', componentName);
const component = componentRegistry.createInstance(componentName);
console.log('Created component:', component);
if (component) {
selectedEntity.addComponent(component);