From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/components/base/prompt-editor/plugins/query-block/node.tsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/components/base/prompt-editor/plugins/query-block/node.tsx b/app/components/base/prompt-editor/plugins/query-block/node.tsx
index fc56045..3b5f6c0 100644
--- a/app/components/base/prompt-editor/plugins/query-block/node.tsx
+++ b/app/components/base/prompt-editor/plugins/query-block/node.tsx
@@ -4,7 +4,7 @@
 
 export type SerializedNode = SerializedLexicalNode
 
-export class QueryBlockNode extends DecoratorNode<React.JSX.Element> {
+export class QueryBlockNode extends DecoratorNode<JSX.Element> {
   static getType(): string {
     return 'query-block'
   }
@@ -27,7 +27,7 @@
     return false
   }
 
-  decorate(): React.JSX.Element {
+  decorate(): JSX.Element {
     return <QueryBlockComponent nodeKey={this.getKey()} />
   }
 

--
Gitblit v1.8.0