fix formatting

This commit is contained in:
Evan Almloff committed 2024-01-06 16:57:54 -06:00
1 parent 44ccdba0fe
commit 9ef4f465a6
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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();
+2 -1
View File
@@ -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 {