remove unneeded stuff

This commit is contained in:
Adam 2024-08-27 23:23:43 -04:00
parent 1778df0eb4
commit 3b19854898

View file

@ -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::<WebSocketContext>();
let connected = move || websocket.ready_state.get() == ConnectionReadyState::Open;
let tx = websocket.clone();
let (websocket_send, set_websocket_send) = create_signal("".to_string());