Fix restore button (#27866)

ID collision!

Release Notes:

- N/A
This commit is contained in:
Cole Miller authored and GitHub committed 2025-04-01 19:33:30 +00:00
1 parent 66f93574b0
commit 42f0d86dfe
1 file changed
+1 -1
+1 -1
View File
@@ -20359,7 +20359,7 @@ fn render_diff_hunk_controls(
})
})
.child(
Button::new("restore", "Restore")
Button::new(("restore", row as u64), "Restore")
.tooltip({
let focus_handle = editor.focus_handle(cx);
move |window, cx| {