Fix restore button (#27866)

ID collision!

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-04-01 15:33:30 -04:00 committed by GitHub
parent b59967bbdf
commit 4ff07bf789
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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| {