From 5a03734b6767fed04c0913384584d8f59dc597ea Mon Sep 17 00:00:00 2001 From: jelemux Date: Tue, 24 Nov 2020 21:58:51 +0100 Subject: add traits for viewmodel and view --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 6982920..2184f44 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)); -- cgit v1.2.3