Fix creating signals in effects
This commit is contained in:
1 parent
d8704a0447
commit
38274da3ee
3 files changed
+19
-9
No files matched your search
@@ -74,6 +74,7 @@ pub fn selector<R: PartialEq>(mut f: impl FnMut() -> R + 'static) -> ReadOnlySig
|
||||
inner: CopyValue::invalid(),
|
||||
};
|
||||
let effect = Effect {
|
||||
source: current_scope_id().expect("in a virtual dom"),
|
||||
callback: CopyValue::invalid(),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user