diff --git a/crates/ui2/src/components/collab_panel.rs b/crates/ui2/src/components/collab_panel.rs index c435f7e9cd..1baa082f1d 100644 --- a/crates/ui2/src/components/collab_panel.rs +++ b/crates/ui2/src/components/collab_panel.rs @@ -11,14 +11,14 @@ use crate::{ #[derive(Element)] pub struct CollabPanel { - view_type: PhantomData, + state_type: PhantomData, scroll_state: ScrollState, } impl CollabPanel { pub fn new(scroll_state: ScrollState) -> Self { Self { - view_type: PhantomData, + state_type: PhantomData, scroll_state, } }