Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove empty message editor placeholder (#7444)
Marshall Bowers0b2a9d2bea56
diff --git a/crates/collab_ui/src/chat_panel.rs b/crates/collab_ui/src/chat_panel.rsindex 804bd3acf88..0ee4805a74b 100644--- a/crates/collab_ui/src/chat_panel.rs+++ b/crates/collab_ui/src/chat_panel.rs@@ -596,19 +596,7 @@ impl Render for ChatPanel {el.border_t_1().border_color(cx.theme().colors().border)}).p_2()- .map(|el| {- if self.active_chat.is_some() {- el.child(self.message_editor.clone())- } else {- el.child(- div()- .rounded_md()- .h_6()- .w_full()- .bg(cx.theme().colors().editor_background),- )- }- }),+ .child(self.message_editor.clone()),).filter(|_| self.active_chat.is_some()),)