Remove debug log from Lorentz product input
This commit is contained in:
		
							parent
							
								
									76ad4245d5
								
							
						
					
					
						commit
						c2e3c64d4a
					
				
					 1 changed files with 0 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue