fix: subscription should apply internally to hook

This commit is contained in:
Jonathan Kelley committed 2022-04-24 20:51:52 -04:00
1 parent 70a6f95c8c
commit 07529e491c
2 files changed
+29 -14

No files matched your search

+2 -1
View File
@@ -47,7 +47,8 @@ fn ChildWithRef(cx: Scope) -> Element {
cx.spawn(async move {
names.write().push("asd".to_string());
})
}
},
"Add name"
}
}
})