From 13a2dacc6078a4dd58d3f3eb5f29db2950800dee Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 21 Mar 2022 18:16:06 +0100 Subject: [PATCH] :lipstick: --- crates/workspace/src/workspace.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index 760ffa8c1a..3c5d1dfbf6 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -1248,14 +1248,8 @@ impl Workspace { state.active_view_id = response.active_view_id; Ok::<_, anyhow::Error>(()) })?; - Self::add_views_from_leader( - this, - leader_id, - vec![pane.clone()], - response.views, - &mut cx, - ) - .await?; + Self::add_views_from_leader(this, leader_id, vec![pane], response.views, &mut cx) + .await?; } Ok(()) }))