diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,14 +4,13 @@ extern crate console_error_panic_hook; use wasm_bindgen::prelude::*; use yew::prelude::App; use std::panic; -use view::MainView; +use view::main::MainView; // Use `wee_alloc` as the global allocator. #[global_allocator] static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; mod view; -mod util; fn init() { panic::set_hook(Box::new(console_error_panic_hook::hook)); |