Feat: wire up rebuild
This commit is contained in:
1 parent
4d01455729
commit
06ae4fc178
11 files changed
+210
-170
No files matched your search
@@ -9,7 +9,7 @@ fn main() {
|
||||
wasm_logger::init(wasm_logger::Config::new(log::Level::Debug));
|
||||
console_error_panic_hook::set_once();
|
||||
|
||||
WebsysRenderer::new(|ctx, _| {
|
||||
wasm_bindgen_futures::spawn_local(WebsysRenderer::start(|ctx, _| {
|
||||
ctx.view(html! {
|
||||
<div>
|
||||
<div class="flex items-center justify-center flex-col">
|
||||
@@ -43,5 +43,5 @@ fn main() {
|
||||
</div>
|
||||
</div>
|
||||
})
|
||||
});
|
||||
}));
|
||||
}
|
||||
Reference in new issue
Block a user