Use Project
instead of Workspace
in ContextStore
(#28402)
Release Notes: - N/A
This commit is contained in:
parent
9dae4d8c59
commit
f12a554f86
6 changed files with 32 additions and 40 deletions
|
@ -2234,7 +2234,7 @@ fn main() {{
|
|||
});
|
||||
|
||||
let thread = thread_store.update(cx, |store, cx| store.create_thread(cx));
|
||||
let context_store = cx.new(|_cx| ContextStore::new(workspace.downgrade(), None));
|
||||
let context_store = cx.new(|_cx| ContextStore::new(project.downgrade(), None));
|
||||
|
||||
(workspace, thread_store, thread, context_store)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue