浏览代码

flush sync in global memo

Jonathan Kelley 1 年之前
父节点
当前提交
e8182b105e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,