fix components that take no arguments

This commit is contained in:
Evan Almloff committed 2024-01-11 11:11:44 -06:00
1 parent 404c864246
commit 1794debf79
24 files changed
+98 -78

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ fn fragments_across_components() {
}
}
fn demo_child(cx: Scope) -> Element {
fn demo_child() -> Element {
let world = "world";
render! { "hellO!", world }
}