fix reading signals outside of the vdom
This commit is contained in:
1 parent
38274da3ee
commit
f3e7f042b4
1 file changed
+2
-1
@@ -18,7 +18,8 @@ pub(crate) fn get_effect_stack() -> EffectStack {
|
||||
Some(rt) => rt,
|
||||
None => {
|
||||
let store = EffectStack::default();
|
||||
provide_root_context(store).expect("in a virtual dom")
|
||||
provide_root_context(store.clone());
|
||||
store
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user