fix formatting
This commit is contained in:
1 parent
44ccdba0fe
commit
9ef4f465a6
2 files changed
+3
-2
No files matched your search
@@ -244,7 +244,7 @@ pub async fn run_with_props<T: Clone + 'static>(
|
||||
loop {
|
||||
tracing::trace!("waiting for work");
|
||||
|
||||
// if virtualdom has nothing, wait for it to have something before requesting idle time
|
||||
// if virtual dom has nothing, wait for it to have something before requesting idle time
|
||||
// if there is work then this future resolves immediately.
|
||||
let (mut res, template) = {
|
||||
let work = dom.wait_for_work().fuse();
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use wasm_bindgen::JsCast;use crate::dom::UiEvent;
|
||||
use crate::dom::UiEvent;
|
||||
use crate::dom::WebsysDom;
|
||||
use dioxus_core::prelude::*;
|
||||
use dioxus_core::WriteMutations;
|
||||
@@ -9,6 +9,7 @@ use dioxus_html::PlatformEventData;
|
||||
use dioxus_interpreter_js::get_node;
|
||||
use dioxus_interpreter_js::minimal_bindings;
|
||||
use dioxus_interpreter_js::save_template;
|
||||
use wasm_bindgen::JsCast;
|
||||
use wasm_bindgen::JsValue;
|
||||
|
||||
impl WebsysDom {
|
||||
|
||||
Reference in new issue
Block a user