wwf
2 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
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()} />
  }