fix hydration

This commit is contained in:
Evan Almloff committed 2024-01-18 10:47:10 -06:00
1 parent d20422bb0f
commit 694bef0d93
8 files changed
+76 -21

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ impl Config {
#[cfg(not(feature = "ssr"))]
{
let cfg = self.web_cfg.hydrate(true);
dioxus_web::run(
dioxus_web::launch::launch_virtual_dom(
// TODO: this should pull the props from the document
build_virtual_dom(),
cfg,