fix all broken examples (#1248)

This commit is contained in:
ealmloff authored and GitHub committed 2023-07-25 14:30:08 -05:00
1 parent 6751d5941b
commit d637ef187c
12 files changed
+29 -25

No files matched your search

+2 -1
View File
@@ -13,7 +13,8 @@ use dioxus::prelude::*;
use dioxus_desktop::Config;
fn main() {
let vdom = VirtualDom::new(app);
let mut vdom = VirtualDom::new(app);
let _ = vdom.rebuild();
let content = dioxus_ssr::pre_render(&vdom);
dioxus_desktop::launch_cfg(app, Config::new().with_prerendered(content));