Skip to content

Commit 4428136

Browse files
authored
fix(code): Default to action button in discard changes dialog (#1327)
1 parent 3b0750d commit 4428136

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/code/src/renderer/features/task-detail/components/ChangesPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function ChangedFileItem({
199199
title: "Discard changes",
200200
message,
201201
buttons: ["Cancel", action],
202-
defaultId: 0,
202+
defaultId: 1,
203203
cancelId: 0,
204204
});
205205

0 commit comments

Comments
 (0)