diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs index 928577addd..767eeb1a0d 100644 --- a/crates/git_ui/src/git_panel.rs +++ b/crates/git_ui/src/git_panel.rs @@ -2959,12 +2959,8 @@ impl GitPanel { cx, ); - // TODO!: Why can't I use `cx.background_spawn` here? return cx - .background_executor() - .spawn(async move { - result.await.ok(); - }) + .background_spawn(async move { result.await.ok() }) .detach(); }