extern crate console_error_panic_hook; extern crate js_sys; use std::panic; use wasm_bindgen::prelude::*; use yew::prelude::*; mod agents; mod app; mod canvas; mod controls; mod home; mod utils; #[wasm_bindgen(start)] pub fn run_app() { panic::set_hook(Box::new(console_error_panic_hook::hook)); App::::new().mount_to_body(); }