diff --git a/crates/assistant_context_editor/src/context_store.rs b/crates/assistant_context_editor/src/context_store.rs index e38596d229..91a1553193 100644 --- a/crates/assistant_context_editor/src/context_store.rs +++ b/crates/assistant_context_editor/src/context_store.rs @@ -144,11 +144,9 @@ impl ContextStore { this.handle_project_changed(project.clone(), cx); this.synchronize_contexts(cx); this.register_context_server_handlers(cx); + this.reload(cx).detach_and_log_err(cx); this })?; - this.update(&mut cx, |this, cx| this.reload(cx))? - .await - .log_err(); Ok(this) })