fix hydrate example
This commit is contained in:
1 parent
9ff5d24d42
commit
de0c34ec60
2 files changed
+2
-1
No files matched your search
@@ -43,7 +43,7 @@ fn Bapp(cx: Scope) -> Element {
|
||||
|
||||
fn main() {
|
||||
console_error_panic_hook::set_once();
|
||||
wasm_logger::init(wasm_logger::Config::new(log::Level::Trace));
|
||||
tracing_wasm::set_as_global_default();
|
||||
|
||||
let mut dom = VirtualDom::new(app);
|
||||
let _ = dom.rebuild();
|
||||
|
||||
Reference in new issue
Block a user