Remove debug log from Lorentz product input

This commit is contained in:
Aaron Fenyes 2024-10-30 00:16:34 -07:00
parent 76ad4245d5
commit c2e3c64d4a

View File

@ -1,7 +1,6 @@
use itertools::Itertools; use itertools::Itertools;
use sycamore::{prelude::*, web::tags::div}; use sycamore::{prelude::*, web::tags::div};
use web_sys::{Element, Event, HtmlInputElement, KeyboardEvent, MouseEvent, wasm_bindgen::JsCast}; use web_sys::{Element, Event, HtmlInputElement, KeyboardEvent, MouseEvent, wasm_bindgen::JsCast};
use web_sys::{console, wasm_bindgen::JsValue}; /* DEBUG */
use crate::{AppState, assembly::Constraint}; use crate::{AppState, assembly::Constraint};
@ -18,10 +17,6 @@ fn LorentzProductInput(constraint: Constraint) -> View {
Ok(rep) => batch(|| { Ok(rep) => batch(|| {
constraint.rep.set(rep); constraint.rep.set(rep);
constraint.rep_valid.set(true); constraint.rep_valid.set(true);
console::log_2(
&JsValue::from("Constraint rep parsed to"),
&JsValue::from(rep)
);
}), }),
Err(_) => constraint.rep_valid.set(false) Err(_) => constraint.rep_valid.set(false)
}; };