make the root component take no arguments
This commit is contained in:
1 parent
8fe2515413
commit
404c864246
26 files changed
+46
-47
No files matched your search
@@ -3,7 +3,7 @@ use dioxus::prelude::*;
|
||||
|
||||
#[test]
|
||||
fn state_shares() {
|
||||
fn app(cx: Scope) -> Element {
|
||||
fn app() -> Element {
|
||||
cx.provide_context(generation() as i32);
|
||||
|
||||
render!(child_1 {})
|
||||
|
||||
Reference in new issue
Block a user