Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: fix (#2831)

lumixa0c858e57c06
diff --git a/packages/sheets-formula/src/controllers/prompt.controller.ts b/packages/sheets-formula/src/controllers/prompt.controller.ts
index eb241e45a3..ad32b0bddb 100644
--- a/packages/sheets-formula/src/controllers/prompt.controller.ts
+++ b/packages/sheets-formula/src/controllers/prompt.controller.ts
@@ -1814,9 +1814,8 @@ export class PromptController extends Disposable {
this._formulaPromptService.setSequenceNodes(lastSequenceNodes);
- this._syncToEditor(lastSequenceNodes, formulaString.length - 1, editorUnitId, true, false);
- })
- )
+ this._syncToEditor(lastSequenceNodes, formulaString.length - 1, editorUnitId, true, false);
+ })
);
this.disposeWithMe(