WIP: Clean up the outline view #16
@ -1,7 +1,6 @@
|
||||
use itertools::Itertools;
|
||||
use sycamore::{prelude::*, web::tags::div};
|
||||
use web_sys::{Element, Event, HtmlInputElement, KeyboardEvent, MouseEvent, wasm_bindgen::JsCast};
|
||||
use web_sys::{console, wasm_bindgen::JsValue}; /* DEBUG */
|
||||
|
||||
use crate::{AppState, assembly::Constraint};
|
||||
|
||||
@ -18,10 +17,6 @@ fn LorentzProductInput(constraint: Constraint) -> View {
|
||||
Ok(rep) => batch(|| {
|
||||
constraint.rep.set(rep);
|
||||
constraint.rep_valid.set(true);
|
||||
console::log_2(
|
||||
&JsValue::from("Constraint rep parsed to"),
|
||||
&JsValue::from(rep)
|
||||
);
|
||||
}),
|
||||
Err(_) => constraint.rep_valid.set(false)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user