diff --git a/extensions/vscode/src/commands.ts b/extensions/vscode/src/commands.ts index 57039e3d3..de8f5cd1e 100644 --- a/extensions/vscode/src/commands.ts +++ b/extensions/vscode/src/commands.ts @@ -283,9 +283,7 @@ async function processDiff( }); } - if (action === "accept") { - await sidebar.webviewProtocol.request("exitEditMode", undefined); - } + await sidebar.webviewProtocol.request("exitEditMode", undefined); } function waitForSidebarReady(