Browse Source

flush sync in global memo

Jonathan Kelley 1 năm trước cách đây
mục cha
commit
e8182b105e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/signals/src/signal.rs

+ 1 - 1
packages/signals/src/signal.rs

@@ -5,7 +5,7 @@ use crate::{
 };
 use dioxus_core::{
     prelude::{
-        current_scope_id, has_context, provide_context, schedule_update_any, spawn,
+        current_scope_id, flush_sync, has_context, provide_context, schedule_update_any, spawn,
         IntoAttributeValue,
     },
     ScopeId,