diff --git a/src/vs/workbench/contrib/void/browser/registerInlineDiffs.ts b/src/vs/workbench/contrib/void/browser/registerInlineDiffs.ts index 56a66996..ee6ac86b 100644 --- a/src/vs/workbench/contrib/void/browser/registerInlineDiffs.ts +++ b/src/vs/workbench/contrib/void/browser/registerInlineDiffs.ts @@ -279,7 +279,7 @@ class InlineDiffsService extends Disposable implements IInlineDiffsService { this._undoRedoService.pushElement(elt, editGroup) - const onFinishEdit = () => () => { + const onFinishEdit = () => { if (afterSnapshot !== null) return afterSnapshot = { diffAreaOfId: structuredClone(this.diffAreaOfId),