fix: subscription should apply internally to hook
This commit is contained in:
1 parent
70a6f95c8c
commit
07529e491c
2 files changed
+29
-14
No files matched your search
+2
-1
@@ -47,7 +47,8 @@ fn ChildWithRef(cx: Scope) -> Element {
|
||||
cx.spawn(async move {
|
||||
names.write().push("asd".to_string());
|
||||
})
|
||||
}
|
||||
},
|
||||
"Add name"
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user