From 04761c94185e7f4a11591e1d6d5ec08c463d9bd8 Mon Sep 17 00:00:00 2001 From: mp Date: Thu, 14 Nov 2024 22:00:00 -0800 Subject: [PATCH] Minor changes --- src/vs/workbench/contrib/void/browser/registerInlineDiffs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),