use crate::components::websocket::WebSocketContext; use html::{Input, Textarea}; use leptos::*; use leptos_use::core::ConnectionReadyState; use lib::models::*; #[component] pub fn Chat() -> impl IntoView { let websocket = expect_context::(); // Chat stuff let (chat_history, set_chat_history) = create_signal::>(vec![]); let chat_history_ref = create_node_ref::

} }