diff --git a/front_end/Cargo.toml b/front_end/Cargo.toml index 9070eaa..948d964 100644 --- a/front_end/Cargo.toml +++ b/front_end/Cargo.toml @@ -9,5 +9,4 @@ edition = "2021" yew = "0.19" log = "0.4.6" wasm-logger = "0.2.0" -web-sys = { version = "0.3.56", features = ["HtmlParagraphElement", "HtmlBrElement"] } - +web-sys = { version = "0.3.56", features = ["HtmlParagraphElement"] } diff --git a/front_end/src/main.rs b/front_end/src/main.rs index b86a99c..bee0e46 100644 --- a/front_end/src/main.rs +++ b/front_end/src/main.rs @@ -179,7 +179,8 @@ impl Component for Slot { if let Err(e) = result { log::error!("Error pushing msg to bus: {}", e); } else { - log::info!("Pushed \"pressed {idx}\" msg to bus"); + // DEBUG + //log::info!("Pushed \"pressed {idx}\" msg to bus"); } } } @@ -286,7 +287,8 @@ impl Component for Wrapper { if split_str[0] == "pressed" { if let Ok(idx) = split_str[1].parse::() { let output_str: String = format!("Got {idx} pressed."); - log::info!("{}", &output_str); + // DEBUG + //log::info!("{}", &output_str); if let Some(info_text) = shared.info_text_ref.cast::() {