feat: add update functionality to useref

This commit is contained in:
Jonathan Kelley committed 2021-10-04 10:22:20 -04:00
1 parent 5502429626
commit a2b0c50a34
16 files changed
+77 -47

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ fn main() {
AppendChildren { many: 1 },
];
dioxus_desktop::WebviewRenderer::run_with_edits(APP, (), |c| c, Some(edits)).expect("failed");
dioxus_desktop::run(APP, (), |c| c.with_edits(edits)).unwrap();
}
const APP: FC<()> = |cx, _props| {