diff --git a/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Components/ComponentPanel.tsx b/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Components/ComponentPanel.tsx
index 30089990f..c4fa25f93 100644
--- a/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Components/ComponentPanel.tsx
+++ b/apps/ai-game-creator-shell/src/view/ui-editor/components/Inspector/Components/ComponentPanel.tsx
@@ -1,6 +1,7 @@
import { ChevronDown, ChevronRight, Plus, Trash2 } from 'lucide-react';
import { useEffect, useState } from 'react';
+import { ThemedModal } from '../../../../../components/modal/ThemedModal';
import type { Component } from '../../../../../features/ui-editor/types/Component';
import type { UiEditorOperationResult } from '../../../../../features/ui-editor/useUiEditorState';
import { useInspectorReadOnly } from '../InspectorReadOnlyContext';
@@ -17,6 +18,7 @@ export function ComponentPanel(props: ComponentPanelProps) {
const [addKind, setAddKind] = useState<'Image' | 'Text'>('Image');
const [expanded, setExpanded] = useState(Boolean(component));
const [error, setError] = useState
{error}
} ++ 当前组件的配置将被新的默认组件覆盖。 +
+