diff --git a/client/src/components/browser.rs b/client/src/components/browser.rs index 6eb7389..b365204 100644 --- a/client/src/components/browser.rs +++ b/client/src/components/browser.rs @@ -1,16 +1,12 @@ use crate::components::websocket::WebSocketContext; -use leptos::html::Input; use leptos::*; -use leptos_use::core::ConnectionReadyState; use lib::*; use serde_json::to_string; -use std::collections::BTreeSet; #[component] pub fn Browser() -> impl IntoView { // Websocket stuff let websocket = expect_context::(); - let connected = move || websocket.ready_state.get() == ConnectionReadyState::Open; let tx = websocket.clone(); let (websocket_send, set_websocket_send) = create_signal("".to_string());