chore: hide tree view

This commit is contained in:
Joel 2025-08-07 15:06:13 +08:00
parent a9e6140dc6
commit c27f20b4b7

View File

@ -17,7 +17,7 @@ import { LexicalErrorBoundary } from '@lexical/react/LexicalErrorBoundary'
import { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin' import { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin'
import { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin' import { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin'
import DraggableBlockPlugin from './plugins/draggable-plugin' import DraggableBlockPlugin from './plugins/draggable-plugin'
import TreeView from './plugins/tree-view' // import TreeView from './plugins/tree-view'
import Placeholder from './plugins/placeholder' import Placeholder from './plugins/placeholder'
import ComponentPickerBlock from './plugins/component-picker-block' import ComponentPickerBlock from './plugins/component-picker-block'
import { import {
@ -282,7 +282,7 @@ const PromptEditor: FC<PromptEditorProps> = ({
{floatingAnchorElem && ( {floatingAnchorElem && (
<DraggableBlockPlugin anchorElem={floatingAnchorElem} /> <DraggableBlockPlugin anchorElem={floatingAnchorElem} />
)} )}
<TreeView /> {/* <TreeView /> */}
</div> </div>
</LexicalComposer> </LexicalComposer>
) )