fix: remove panics and unblock flows
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-11-25 03:20:40 +07:00
parent 0fd8ea12fb
commit 3f64b36ff4
52 changed files with 753 additions and 567 deletions
+8 -2
View File
@@ -353,7 +353,10 @@ impl Render for PullRequestsView {
.title("Pull request warning")
.message(warning)
.on_dismiss(move |cx| {
dismiss_warning_store.update(cx, |store, _| store.last_warning = None);
dismiss_warning_store.update(cx, |store, cx| {
store.last_warning = None;
cx.notify();
});
}),
)
})
@@ -364,7 +367,10 @@ impl Render for PullRequestsView {
.title("Pull request error")
.message(error)
.on_dismiss(move |cx| {
dismiss_error_store.update(cx, |store, _| store.last_error = None);
dismiss_error_store.update(cx, |store, cx| {
store.last_error = None;
cx.notify();
});
}),
)
})