From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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