Merge pull request #1234 from Demonthos/fix-static-hydrated

Fix route prerendering
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2023-07-21 16:57:28 -07:00
commit 0097b82490
1 file changed
+2 -1
+2 -1
View File
@@ -50,7 +50,8 @@ where
&mut tokio::io::sink(),
|vdom| {
Box::pin(async move {
let _ = vdom.wait_for_suspense().await;
let _ = vdom.rebuild();
vdom.wait_for_suspense().await;
})
},
wrapper,