fix: readme and examples syntax
This commit is contained in:
1 parent
f24aae8787
commit
3dc0e59876
102 files changed
+213
-1222
No files matched your search
@@ -33,7 +33,7 @@ fn main() {
|
||||
AppendChildren { many: 1 },
|
||||
];
|
||||
|
||||
let app: Component<()> = |cx| rsx!(cx, div { "some app" });
|
||||
let app: Component = |cx| rsx!(cx, div { "some app" });
|
||||
|
||||
dioxus_desktop::run(app, (), |c| c.with_edits(edits));
|
||||
}
|
||||
Reference in new issue
Block a user